Created
November 30, 2016 16:33
-
-
Save lepoetemaudit/a55058cd352f4d1336f28b512cdde380 to your computer and use it in GitHub Desktop.
Pipe forward in mlfe
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
module pipe_forward_test | |
(|>) x y = y x | |
add x y = x + y | |
add_one x = add 1 x | |
res = 2 |> add_one |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment