Common Lisp doesn’t yield (but it maps)

I didn't use Python's yield statement until I'd been programming for a few years. Within a few days of learning it, however, I could't live without it. I find Python generators and list/dict comprehensions one of the key things to making Python code compact and readable. I was pretty bummed to learn that Common Lisp …

Advertisements

Common Lisp accessors

The Common Lisp setf function is deceptively humble looking. At the start I didn't think much of it - except that it looked eccentric compared to the assignment syntax from other languages - but recently I've found out how powerful it is, though not quite as convenient as I would hope. In most languages to …