Skip to content

Instantly share code, notes, and snippets.

@davidgrenier
Last active December 17, 2015 23:48
Show Gist options
  • Save davidgrenier/5691549 to your computer and use it in GitHub Desktop.
Save davidgrenier/5691549 to your computer and use it in GitHub Desktop.
let add3times2minus4 =
let add3 x = x + 3
let times2 x = x * 2
let minus4 x = x - 4
[
add3
times2
minus4
] |> Seq.reduce (>>)
add3times2minus4 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment