From: Yukihiro Matsumoto Date: 2008-05-26T15:13:26+09:00 Subject: Re: [PATCH] lambda with normal block syntax Hi, In message "Re: [PATCH] lambda with normal block syntax" on Mon, 26 May 2008 14:47:58 +0900, "Eric Mahurin" writes: |What was the reason for the -> lambda introduced in r8847 over the do/end or |{||} lambda from r8044? The users complained that was too easily confused with hashes. In addition, foo {|a|...} can be parsed both foo({|a|...}) and foo(){|a|...} that could cause more confusion. |Was it default arguments? If so, could my first |patch be used for default arguments (use primary instead of expr for default |vaule to resolve | ambiguity) instead? It is interesting idea. Let me see. Wait for a while. matz.