Re:On Lisp
by pavpanchekha on Sunday August 25, 2013 @08:50PM
(#6274498)
It is written to a prior version of the Common Lisp standard, and with a very old-fashioned style. You'll see calls like (REPLACA pair val) instead of (SETF (CAR pair) val) and so on. That will irk you if you are a Common Lisp hacker already. If you're not, just keep in mind that good CL style results in somewhat prettier code than that in On Lisp.
[ Parent
| on HN ]
I tried reading this back when I started writing lisp- and it's been a year since. I know I got stuck when I couldn't find functions in slime with C-d C-h, and just assumed that they were defined by the book. This is much more reassuring.
Re:On Lisp
by pavpanchekha on Sunday August 25, 2013 @11:30PM
(#6275036)
REPLACA and its cousin REPLACD are part of the Common Lisp standard, but they are indeed something you should probably never see. Even for mapping across a structure or something I'd prefer to write my own inline function. They along with TERPRI (newline) are the ugliest function names of CL.