Hi Peter,

Have a look at:

http://smalltalkhub.com/#!/~zeroflag/Chain

As an alternative you may try the Specification Pattern

http://smalltalkhub.com/#!/~MassimoNocentini/SpecificationPattern

Cheers,

Hernán



El mié., 17 oct. 2018 a las 4:14, Peter Uhnak (<i.uh...@gmail.com>) escribió:
>
> 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

Reply via email to