From: Mathieu Bouchard Date: 2002-01-20T02:56:13+09:00 Subject: Re: Proc.class vs yield On Sat, 19 Jan 2002, Michael Lucas-Smith wrote: > writing lambda instead of proc makes it two characters uglier :) Yes.. > much cooler word, very Lisp. But still not the solution I'm looking for. > I think the real problem happened when {} was reused for another job > other than hash for the anonymous block. I have another novel idea,.. > instead of [] or {} .. what about "" ? .. or '' ? I think any sufficiently pious member of the Church of Lambda will consider backslash to be the best real-world representation of the divine symbol. This leads us to syntax like: \a\b\c( ... ) (with parens optional depending on priority) meaning proc{|a,b,c| ... } with some impedance mismatch due to (1) currying (2) variadic procs like {|x,*y|...} (3) {|x|...} vs {|x,|...} (4) {||} vs {} ________________________________________________________________ Mathieu Bouchard http://hostname.2y.net/~matju