From: Joshua Ballanco Date: 2014-01-20T13:32:33+02:00 Subject: [ruby-core:59899] Re: [ruby-trunk - Feature #9428] [Rejected] Inline argument expressions and re-assignment On Monday, January 20, 2014 at 11:04, "Martin J. D��rst" wrote: > On 2014/01/20 11:32, matz@ruby-lang.org (mailto:matz@ruby-lang.org) wrote: > > > As Nobu pointed out, it's too difficult (or impossible) to parse argument list. > > You should propose other way. For example, some languages provide argument decoration like: > > > > ``` > > def foo(a:b) > > end > > ``` > > > > where implicitly calls `a = b(a)`. Note that `:` is not usable for Ruby. It conflicts with keyword arguments. > > Hello Matz, > > Do you still remember the name(s) of such language? Scala does something like this with implicit conversions. The first Google hit I found that goes into it: http://tomjefferys.blogspot.com/2011/11/implicit-conversions-in-scala.html