Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- psp> val xs = "abcdefghijklmnopqrstuvwxyz"
- xs: String = abcdefghijklmnopqrstuvwxyz
- psp> xs filter ((_: Char) >= 'c') && (_ < 'f') || (_ == 'q')
- res10: View[Char] = [ c, d, e, q ]
- psp>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement