Possible Duplicate:
Use 'map' and stuff on Scala Tuples?
Why cannot I iterate over this construct (I am not sure how to call it, since Scala just calls it (Int, Int, Int)
)?
val list = (1,2,3)
list.map{println _}
The code above produces the following error:
<console>:9: error: value map is not a member of (Int, Int, Int)
(1,2,3).map{println _}