daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Dec 14th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // cs is some object with next() and get() methods
  2. val xs = for(i <- 0 if(cs.next)) yield cs.get
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top