Jess Gabriel y Galn schreef op 9-6-2014 12:37:
> On Mon, Jun 9, 2014 at 12:29 PM, Roelof Wobben <r.wobben / home.nl> wrote:
>> Thanks, still I wonder why on the simple case the x is not needed .
> What do you mean by 'the simple case'?
>
> Jesus.
>

this one  :

def one fn=nil
    if fn
       fn[1]
    else
       1
    end
  end

def add x
     ->(y) { y + x }
   end