[EMAIL PROTECTED] writes:
: Simon wrote:
: 
: > Given hyperoperators, I wonder if we can actually drop map.
: 
: So:
: 
:       @result = map { block } @data;
: 
: becomes:
: 
:       @result = {block}^.(@data);
: 
: Hmmmmmmm.

Some people might think of it more like this:

        @result = @data ^. {block};

except that {block} would be parsed as a subscript, and you want
argument binding, so it starts looking more like:

        @result = @data ^-> $a {block};

But -> really is a term-forcer, so that means we're really talking
about the bare ^ operator:

        @result = @data ^ $subref;

That's gettin' kinda scary.

Larry

Reply via email to