Created
July 14, 2016 20:25
-
-
Save Krasnyanskiy/776ebc2fbb01484fdfe132e19bde613a to your computer and use it in GitHub Desktop.
-scala: PF style
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
val collected = list collect { case 1 => 2 case 2 => 1 case 3 => 0 } | |
collected foreach println |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment