Created
August 24, 2015 10:17
-
-
Save macbaszii/2bb20489b670dfef74f4 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
| infix operator >>- { associativity left } | |
| func >>-<T, U>(a: T?, f: T -> U?) -> U? { | |
| return a.flatMap(f) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment