Hi folks,
the enhancement has been enhanced to allow collections to be the
arguments for collect,select,reject and do.
Saying
2 collect raisedTo:( 1 to: 20)
is now possible. The implementation uses a ReversingMessage,
subclass of message, which is a little too specific for my taste but
does the trick.
Better would be some sort of CurriedMessage, which binds some of its
parameters (including the receiver) and allows others to be set by
value: variants, and taking that further is the
StreamingCurriedMessage, which iterates through multiple collections
simultaneously using streams.
Marcel
<attachment missing>
Hi folks,
the enhancement has been enhanced to allow
collections to be the arguments for collect,select,reject and
do.
Saying
2 collect raisedTo:( 1 to:
20)
is now possible. The implementation
uses a ReversingMessage, subclass of message, which is a little too
specific for my taste but does the trick.
Better would be some sort of
CurriedMessage, which binds some of its parameters (including the
receiver) and allows others to be set by value: variants, and taking
that further is the StreamingCurriedMessage, which iterates through
multiple collections simultaneously using streams.
Marcel
content-type: application/octet-stream; x-unix-mode=0644;
name=FirstClassOperations.26May752am.cs
Attachment converted: Anon:FirstClassOperations.26May752am (????/----)
(0000A7F7)