Created
October 31, 2015 15:25
-
-
Save swr1bm86/cc54ccdf89e2bce53fc3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| -- in fsharp | |
| x |> func | |
| -- let's define it in haskell | |
| let (|>) = flip ($) | |
| 1 |> (\x -> x + 1) |> (\x -> x * 3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment