I think this was the idea of Transducers as well.

Julien

---
Julien Delplanque
Doctorant �� l���Universit�� de Lille
http://juliendelplanque.be/phd.html
Equipe Rmod, Inria
B��timent B 40, Avenue Halley 59650 Villeneuve d'Ascq
Num��ro de t��l��phone: +333 59 35 86 40

Le 17 oct. 2018 �� 09:13, Peter Uhnak <i.uhnak@gmail.com> a ��crit :

Hi,

is there some library that will allow me to chain select:/collect:/... via cascade?

E.g.

#(12 7 'a' nil #(0)) query reject: #isNil; select: #isNumber; collect: #squared; select: #even?

The point is to not have to write billion parentheses when building a more complex query.

I imagine this would be pretty easy to write, but figured I ask first.

Thanks,
Peter