Larry Wall wrote:
>
> If we're going to make it a method, however, it's possible that "curry"
> is the wrong popular name, despite its being the correct technical name.
> There's really nothing about the word "curry" that suggest partial
> binding to the casual reader. Perhaps we really want som
On Tue, 28 May 2002, Glenn Linderman wrote:
> "with" reads very nicely, but we already have a perl6 precedent,
> perhaps... how about reusing "when" as the method name for currying?
> This may not curry favor with Damian, but I suggest
>
> my & half = & div.when(y => 2);
>
> would declare th
Luke Palmer:
# Wait, does this have any meaning?:
#
# my &half = \div(y => 2)
Call div() with the named parameter 'y' equal to 2, take a reference to
its return value, and store that in &half.
# Is backslash even a valid operator for reference anymore? If so, this
# makes sense to me.
I'm s
We've pretty much settled on &div.prebind(y => 2) as the most informative and
least conflictive.
Larry
Larry Wall wrote:
> We've pretty much settled on &div.prebind(y => 2) as the most informative and
> least conflictive.
and I'll demonstrate it in my next Conway Channel diary entry later today.
Damian