On Sat, Dec 10, 2005 at 04:10:17PM +0100, Albert Reiner wrote:
> [Daniel Lakeland , Fri, 9 Dec 2005 14:34:47 -0800]:
> I find the following idiom to be easy to use and reliable:
>
> (%i1) make_inc(x) := buildq([x], lambda([y], x+y)) $
>
> (%i2) f : make_inc(2+3);
>
> (%o2) LAMBDA([y], 5 + y)
> (%i3) f(3);
>
> (%o3) 8
Woohoo,
Another fantastic bit of stuff that desperately needs to go into a
howto book. I think we need to convince OReilly or someone that a
Maxima book would be worthwhile and that they should fund it.
Thanks for the tip.
Dan
--
Daniel Lakeland
dlakelan@street-artists.org
http://www.street-artists.org/~dlakelan