From: Martin DeMello Date: 2005-08-06T05:31:06+09:00 Subject: Re: new block notation Trans wrote: > > That's rather drastic. All it needs is a new symbol for literal hashes. > > (I like [| |] myself.) > > Nah, just use the _collection_ brackets for both array and hash. The > parser can tell them apart: > > # array > [ a, b, c ] > > # hash > [ a=>x, b=>y, c=>z ] > [ a: x, b: y, c: z ] > > Compared to this other stuff that'd be a breeze to parse. # empty array [] # empty hash martin