Skip to content

Instantly share code, notes, and snippets.

@teivah teivah/loop.scala
Created Oct 31, 2018

What would you like to do?
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
You can’t perform that action at this time.