Re: [svn:perl6-synopsis] r14415 - doc/trunk/design/syn

2007-06-05 Thread Jonathan Lang
Larry Wall wrote: : * In item context, a list of captures becomes a single Array object, : and the question about whether or not it gets flattened gets deferred : until its contents get looked at in list, slice, or hash context. That's the intent. $() used to assume @@ inside till this latest

Re: [svn:perl6-synopsis] r14415 - doc/trunk/design/syn

2007-06-05 Thread Jonathan Lang
Jonathan Lang wrote: Arguably list should be non-committal and we give @() a different name like flat, but that grates in my brain for some reason, if only because most list contexts would in the end be flat anyway. And list in English already implies something flatter than, say, an

Re: [svn:perl6-synopsis] r14415 - doc/trunk/design/syn

2007-06-04 Thread Larry Wall
On Sun, Jun 03, 2007 at 10:23:44PM -0700, Jonathan Lang wrote: : Let me see if I understand this correctly: : : * In list context, a list of captures gets flattened. Yes. : * In slice context (a variant of list context), a list of captures : doesn't get flattened. More than that, the captures

[svn:perl6-synopsis] r14415 - doc/trunk/design/syn

2007-06-03 Thread larry
Author: larry Date: Sun Jun 3 17:23:15 2007 New Revision: 14415 Modified: doc/trunk/design/syn/S03.pod doc/trunk/design/syn/S04.pod doc/trunk/design/syn/S06.pod Log: typo from Aaron Crane++ s/cat/list/ for flattening captures in order cat() now only produces pseudo-strings even in list

Re: [svn:perl6-synopsis] r14415 - doc/trunk/design/syn

2007-06-03 Thread Jonathan Lang
[EMAIL PROTECTED] wrote: Author: larry Date: Sun Jun 3 17:23:15 2007 New Revision: 14415 Modified: doc/trunk/design/syn/S03.pod doc/trunk/design/syn/S04.pod doc/trunk/design/syn/S06.pod Log: typo from Aaron Crane++ s/cat/list/ for flattening captures in order cat() now only produces