Subject: Re: Partial function application (was: Re: Binding precedence for first sym...)
From: "Trans" <transfire gmail.com>
Date: Wed, 2 Feb 2005 02:50:44 +0900
References: 129218129220129290
In-reply-to: 129290
Douglas Livingstone wrote:
> How about this:
>
> def fun(z)
> x = 1
> y = 2
>
> # unmodified original
> x = x + y + z
> end
>
> Then you shouldn't need to worry about rewriting as they would act
> more like defult params.
Nice.