Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why we love Scala at Coursera. Parent comment
In Scala I guess we could go zip-style and do:
List(1,2,3) zip List(4,5,6) map{case(x,y)=> x*y}
There are no comments on this comment yet.
In Scala I guess we could go zip-style and do:
but I was trying to demo for comprehensions and their relation to map/flatMap for the OP.