Created
October 31, 2018 11:23
-
-
Save teivah/4346331856b10e8df233a8aa65d9fb9c to your computer and use it in GitHub Desktop.
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
def even(list: List[Integer]) = for (elem <- list if elem % 2 == 0) yield elem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment