Tootfinder

Opt-in global Mastodon full text search. Join the index!

@simon_brooke@mastodon.scot
2026-02-25 14:04:03
Content warning: More Lisp semantics

In #CommonLisp, `=` takes arbitrary numbers of args, but `eq` takes exactly two.
In #Scheme `=` takes arbitrary numbers of args, and `eq?` also takes arbitrary numbers of args.
In #Logo, `equalp` …

@simon_brooke@mastodon.scot
2026-02-23 15:04:58
Content warning: Lisp semantics of nth

SBCL #CommonLisp
(nth 2 '(1 2 3 4 5 6))
3
#Clojure
(nth '(1 2 3 4 5 6) 2)
3
#Scheme
(list-ref '(1 2 3 4 5 6) 2)
;Value: 3
So, they differ on the…