Created
July 2, 2020 17:06
-
-
Save dubzzz/807320c93d3dc3369289c7c40743dccb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| miniFc.string = () => map( | |
| miniFc.array(miniFc.character()), | |
| characters => characters.join('') | |
| ) | |
| miniFc.dictionary = (valueGenerator) => map( | |
| miniFc.array( | |
| miniFc.tuple( | |
| miniFc.string(), | |
| valueGenerator | |
| ) | |
| ), | |
| Object.fromEntries | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment