Skip to content

Instantly share code, notes, and snippets.

@sslotsky
Created March 6, 2019 20:38
Show Gist options
  • Save sslotsky/dc8958a48f8d44a4d3664cdb59295e6a to your computer and use it in GitHub Desktop.
Save sslotsky/dc8958a48f8d44a4d3664cdb59295e6a to your computer and use it in GitHub Desktop.
let l = [1, 2, 3]
|> List.map(n => n * 2)
|> List.filter(n => n mod 2 != 0)
|> List.tl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment