Last active
January 26, 2018 22:57
-
-
Save jrsonline/dfd193683bc76f3a278c283f5ece4d2e to your computer and use it in GitHub Desktop.
functor_sequences
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
print( linkedList^.fmap { $0 % 2 == 0 }.fmap { $0 ? "yes" : "no" }.toLinkedList ) | |
print( regularArray^.fmap { $0 % 2 == 0 }.fmap { $0 ? "yes" : "no" }.toArray ) | |
print( tree^.fmap { $0 % 2 == 0 }.fmap { $0 ? "yes" : "no" }.toTree ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment