January 24, 2007
Fun with lisp
Niall and I were recently looking at support for functions that return functions in different languages (our test being a function that takes a function and returns the derivative function).
Here is the python he was talking about (not using lambda would make it a lot more readable):
def D(f):
return lambda x: (f(x+0.0004)-f(x))/0.0004D(lambda [...]













