Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

lisp newbie help

Name: Anonymous 2012-01-01 5:46

if i set the value of a symbol to a function, how do i call it with that symbol?

(setq a #'append)
(a ... ) <--how do i do this?

thanks

Name: Anonymous 2012-01-01 18:43

>>11
It's just a historical thing.

Name: Anonymous 2012-01-01 19:43

>>11
Makes writing macros easier, also you don't have to rename your variables to not match with functions (I tend to use variables named like string, list all the time).

The full reason is explained here:
http://www.nhplace.com/kent/Papers/Technical-Issues.html

Name: Anonymous 2012-01-01 22:09

>>11
Hygienic macros didn't exist back then, using multiple namespaces helped avoiding captures.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List