develooper Front page | perl.perl6.language | Postings from July 2005

Re: Elimination of Item|Pair and Any|Junction

Thread Previous | Thread Next
Mark A. Biggar
July 27, 2005 12:18
Re: Elimination of Item|Pair and Any|Junction
Message ID:
Larry Wall wrote:
> On Wed, Jul 27, 2005 at 06:28:22PM +0200, "TSa (Thomas SandlaƟ)" wrote:
> : Since we are in type hierachies these days, here's my from ::Any
> : towards ::All version.
> That's pretty, but if you don't move Junction upward, you haven't
> really addressed the question Autrijus is asking.  We're looking
> for a simple type name that means none(Junction) for use as the
> default type of the $x parameter to -> $x {...}.  Whatever we call
> it, this type/class/role/subtype has to admit Item and Pair objects
> but not Junctions.  (And if that's the wrong way to think about it,
> please tell us why.)


Singelton (but that may mean no pairs, oops)
NonJunctive (yuck)
NonThreaded (yuck)
Simple (but that could exclude arrays and hashs)]

Interesting question: are junctions infectious, are class object that 
include a member with ajunction type also junctions?


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About