My counterintuition just went off again. The more restrictive type is called "Any"? Object includes junctions? On 5/29/07, larry@cvs.perl.org <larry@cvs.perl.org> wrote: > Author: larry > Date: Tue May 29 14:18:27 2007 > New Revision: 14407 > > Modified: > doc/trunk/design/syn/S02.pod > > Log: > Clarification of relationship of Any and Object types requested by dduncan++ > > > Modified: doc/trunk/design/syn/S02.pod > ============================================================================== > --- doc/trunk/design/syn/S02.pod (original) > +++ doc/trunk/design/syn/S02.pod Tue May 29 14:18:27 2007 > @@ -12,9 +12,9 @@ > > Maintainer: Larry Wall <larry@wall.org> > Date: 10 Aug 2004 > - Last Modified: 21 May 2007 > + Last Modified: 29 May 2007 > Number: 2 > - Version: 107 > + Version: 108 > > This document summarizes Apocalypse 2, which covers small-scale > lexical items and typological issues. (These Synopses also contain > @@ -772,8 +772,9 @@ > Module Perl 6 standard namespace > Class Perl 6 standard class namespace > Role Perl 6 standard generic interface/implementation > - Object Perl 6 object > Grammar Perl 6 pattern matching namespace > + Any Perl 6 object (default parameter type, excludes Junction) > + Object Perl 6 object (either Any or Junction) > > A C<KeyHash> differs from a normal C<Hash> in how it handles default > values. If the value of a C<KeyHash> element is set to the default > -- Mark J. Reed <markjreed@mail.com>Thread Previous | Thread Next