From: Yukihiro Matsumoto Date: 2008-05-30T00:09:23+09:00 Subject: Re: [PATCH] lambda with normal block syntax Hi, In message "Re: [PATCH] lambda with normal block syntax" on Thu, 29 May 2008 22:59:41 +0900, "Eric Mahurin" writes: |> The case I hate most is |> |> meth {|a|...} |> |> can be parsed (by humans) both |> |> meth({|a|...}) |> |> and |> |> meth() {|a|...} |> |> having too confusing semantics. | |But, this ambiguity already exists today: | |meth {} | |can be parsed (by humans) both | |meth({}) # {} is a Hash | |and | |meth() {} # {} is a block | |Precedence resolves this: block has higher precedence. Yes, but hashes and blocks are completely different beasts; in contrast blocks and lambdas are too similar (yet different). matz.