ralph wrote:
My estimate (based on the -- not inconsiderable --
code base of my own modules) is closer to 5%.
Your estimate of what others will do when
knocking out 10 line scripts in a hurry,
or what's in your current p5 modules?
Both.
Can currying include the given topic?
sub bar is given($foo) {
...
}
$foo = &bar.assuming( foo => 0 )
Maybe. Depends whether we treat the topic specifier as an out-of-band
parameter mechanism. Personally, I'm leery of doing that, but Larry might
well feel it's okay.
And what about a topic placeholder:
$foo = { print $^_ };
such that $^_ is effectively converted to
an 'is given($^_)'.
No, that doesn't work. The placeholder $^_ is
entirely unrelated to $_. Besides, what's wrong with:
$foo = sub { print $_ } is given($_);
???
Damian