Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/* 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
You can’t perform that action at this time.