From: Michael Lucas-Smith Date: 2002-01-20T18:33:57+09:00 Subject: Re: Proc.class vs yield interesting. how do you define a lambda method that doesn't have an argument? \( ... ) ? Michael > > 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 > >