Created
March 6, 2019 20:31
-
-
Save sslotsky/0caea40f98b28f365fd3bb888502a481 to your computer and use it in GitHub Desktop.
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
/* Non-fluent list operations in ReasonML */ | |
let integers = [1, 2, 3]; | |
let multiples = List.map(n => n * 3, integers); | |
let evens = List.filter(n => n mod 2 == 0, multiples); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment