Semicolons as list separators.

2005-02-05 Thread Autrijus Tang
missing something deeply equivalent about semicolons and list separators? So it turns out that A03 says that semicolons within brackets defaults to a list-of-list builder. Curiously, it is missing from S03, and the behaviour is not documented in detail. Currently I assume the brackets above

Re: Semicolons as list separators.

2005-02-05 Thread Larry Wall
On Sat, Feb 05, 2005 at 04:30:58PM +0800, Autrijus Tang wrote: : So it turns out that A03 says that semicolons within brackets defaults : to a list-of-list builder. Curiously, it is missing from S03, and the : behaviour is not documented in detail. That's because it's still a bit hand-wavey. :

Re: Semicolons as list separators.

2005-02-05 Thread Autrijus Tang
On Sat, Feb 05, 2005 at 06:56:00AM -0800, Larry Wall wrote: Yes, unless it returns [[1],[2],[3]] instead. (What you have written is context dependent.) Yup. Thanks! Oh, by the way, may I use the infix:! operator for creating none() junctions? I was writing pretty-printing code for junction