News for hackers. Stuff that matters.
Re:Lists and Lists: Basics of Lisp through interactive fiction by kqr on Monday August 11, 2025 @12:43AM (#44860800)
Took me a while to realise it is based on Scheme and not the Lisps I have used in the past. Did not occur to me to try ~define~ to setq variables!

Also this appears to be more of a set of logic puzzles, right? Going off of the flavour of the second challenge, which is

Define values for cat and dog so that cat and dog are equal? but not eqv?. Furthermore, cdr(cat) and cdr(dog) must be eqv?.

One is assumed to know the difference between equal? and eqv? and the challenge is in coming up with data that satisfies the constraints given.

Re:Lists and Lists: Basics of Lisp through interactive fiction by baruz on Monday August 11, 2025 @12:51AM (#44860825)
I did the same thing, used setq and set ' before I did :r and saw the “define” verbiage.

> assumed to know the difference

:m for the manual and it’s under Comparisons