Created
September 13, 2019 19:55
-
-
Save evaporei/a92c2f9df430f88d9b59d0a91c20dfb1 to your computer and use it in GitHub Desktop.
Category Theory - Functor JavaScript map
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
| console.log('mapped list:', [1, 2, 3].map(x => x * 2)) // [2, 4, 6] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment