Re: a junction or not

2009-03-17 Thread Jon Lang
Larry Wall wrote: I think I've mentioned before that .perl autothreads.  It's the final (low-level) stringification of a junction that slaps the appropriate quantifier around that, I suspect. Please bear with me; I'm starting to get a little lost: are you telling me that $j.perl does what I'd

Re: a junction or not

2009-03-17 Thread Darren Duncan
Jon Lang wrote: Darren Duncan wrote: Jon Lang wrote: Larry Wall wrote: This is basically a non-problem. Junctions have one public method, .eigenstates, which is vanishingly unlikely to be used by accident by any mere mortal any time in the next 100 years, give or take a year. If someone does

Re: a junction or not

2009-03-17 Thread Jon Lang
Darren Duncan wrote: Jon Lang wrote: Darren Duncan wrote: I would assume that invoking .perl on a Junction would result in Perl code consisting of the appropriate any/all/etc expression. -- Darren Duncan Tough to parse, though; and feels like a kludge.  I expect better of Perl 6. What

Re: a junction or not

2009-03-17 Thread David Green
On 2009-Mar-17, at 2:16 am, Jon Lang wrote: $choice.perl will return the same thing that the following would: any($choice.eigenstates.«perl) That is, it would return a Junction of Str, not a Str. So the question is how to get something that returns an expression to the effect of:

r25880 - docs/Perl6/Spec

2009-03-17 Thread pugs-commits
Author: lwall Date: 2009-03-18 02:28:39 +0100 (Wed, 18 Mar 2009) New Revision: 25880 Modified: docs/Perl6/Spec/S03-operators.pod docs/Perl6/Spec/S04-control.pod Log: create more semantic distance between terms and 0-ary functions Modified: docs/Perl6/Spec/S03-operators.pod