Guest User

Untitled

a guest
Dec 14th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. // cs is some object with next() and get() methods
  2. val xs = for(i <- 0 if(cs.next)) yield cs.get
Add Comment
Please, Sign In to add comment