Scala collections

bearophile bearophileHUGS at lycos.com
Fri Jun 17 14:07:17 PDT 2011


A nice video with readable slides, mostly about Scala collections:
http://www.parleys.com/#id=2184&sl=71&st=5

Martin Odersky looks like a very intelligent person (about as Hongwei Xi, author of ATS language).

Scala collections look very integrated with each other and with functional-style programming. And they look good for parallelism too.

A flatMap() sounds useful in Phobos. It means flat(map()) where map returns a small collection, and flat flattens them all in a single result. There is a similar function in Haskell too.

Scala partition returns a 2-tuple. I'd like a similar functional function in Phobos too, that doesn't touch the input range.

Bye,
bearophile


More information about the Digitalmars-d mailing list