Created
July 2, 2020 17:04
-
-
Save dubzzz/c08dc430cc3a49d0bf8df59b1d1b073a 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
| function map(g, mapper) { | |
| return { | |
| generate(mrng) { | |
| const value = g.generate(mrng); | |
| return mapper(value); | |
| } | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment