>> make-adder: func [x] [ func [y] [+ x y] ] >> adder1: make-adder 6 >> adder1 5 == 11 This is way cool. But now, this doesn't work. >> make-adder 6 5 == 5 >> (make-adder 6) 5 == 5 >> ((make-adder 6) 5) == 5 I sort of understand that. >> do make-adder 6 5 == 11 I guess that's the way. -galt
- [REBOL] func[func] Re: Galt_Barber
- [REBOL] func[func] Re: jkinraid
