Created
September 7, 2019 16:19
-
-
Save azaharafernandezguizan/aea0632bc6a6117060180cb0ab13b4df to your computer and use it in GitHub Desktop.
Example of functor Bosque Language
This file contains 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
//Functor | |
var a = List[Int]@{...} | |
var b = a.map[Int]( fn(x)=>(x+2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment