Created
February 21, 2018 17:56
-
-
Save crakjie/6fac9897673a0cae7581e50f1072bbf7 to your computer and use it in GitHub Desktop.
scala as elm
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
def |>[A,B]( a : A)(f : A => B ) : B = f(a) | |
@ 2 |> Some.apply | |
res16: Some[Int] = Some(2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment