lib/pipeline: add basic functional-like filer processing (map&select)
authorJean Privat <jean@pryen.org>
Mon, 24 Mar 2014 18:56:57 +0000 (14:56 -0400)
committerJean Privat <jean@pryen.org>
Wed, 26 Mar 2014 00:05:59 +0000 (20:05 -0400)
commit45e1ab94affc515cfb155168a3d8939e980f938d
tree1438f9d650246260a6262cd1df7e7aeb1c1f4d58
parent108d34e535c9822d704b0610ecbc965b5b3a23d8
lib/pipeline: add basic functional-like filer processing (map&select)

Because Nit is not functional, worse, there is no anonymous classes, the
use is complex.
However, I tried to have the syntax as light as it could be currently.

I still suspect that for most cases, a `for` loop can perform
enough map&select style. Therefore, consider this commit as an
experimentation.

Signed-off-by: Jean Privat <jean@pryen.org>
lib/pipeline.nit