second order functions?



On Tue, May 13, 2008 at 9:52 AM, Barton Willis <willisb at unk.edu> wrote:

>  There is also variants that use buildq.

Yeah --- I prefer buildq because the result is more predictable
(everything is quoted except designated variables).
buildq is essentially a reimplementation of `(,foo) macrology.

In this case, maybe s.t. like

foo(n) := buildq ([n], lambda ([x], n + x));

foo(7);
 => lambda([x], 7 + x)

HTH

Robert Dodier