I agree with you 100%, I love anonymous functions too. I first used them in Javascript actually. After that I fiddled with them in python, then I played with a number of functional langauges which all had similar concepts, and lastly I found perl and it was love at first type.
As for your Zork engine, C has function pointers, but I know they are not the same thing. But LISP can do anonymous functions for sure.
#'(lambda (args) (body))
In reply to Re: I love anonymous functions!
by stvn
in thread I love anonymous functions!
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |