From: Adam Shelly Date: 2006-03-02T14:20:28+09:00 Subject: Re: Confusion Over Keyword Arguments On 3/1/06, Jay Levitt wrote: > On Thu, 2 Mar 2006 08:46:23 +0900, Yukihiro Matsumoto wrote: > > > No, we don't have to. The colon can be ugly with symbols, for > > example, > > > > db.find(order: :date) > > > > is not good looking. Any other proposal (except for "=')? > > If the keyword has to be unadorned, and this has to be done solely through > an infix operator, how about: > > db.find (order ~> :date) > db.find (order -> :date) > How about using Pascal for inspiration? Keep both the : folks and the = crowd happy... db.find (order := :date) -Adam