Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object Test extends App{
- val a = Vector(0, 1, 2, 3, 4)
- val b = Vector("a", "b", "c", "d", "e")
- val c = a.zip(b).foreach{ case (e, i) => println(i + " " + e) }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement