Tootfinder

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

@simon_brooke@mastodon.scot
2026-02-20 10:15:02

#Clojure is not widely used in Africa, it seems. Or Greenland.
Everywhere else, though...
clojure.org/news/2026/02/18/st

@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…

@simon_brooke@mastodon.scot
2026-01-17 14:08:21

OK, I know I keep bragging about #Clojure being remarkably free of bit-rot, and it is.
But I've just hit bit-rot in an eleven year old project of mine, and I'm not sure what to do.
The error is in a #leiningen project built on a

@simon_brooke@mastodon.scot
2026-01-09 21:05:32

I've just checked out a #Clojure project I last worked on thirteen years ago, compiled it, ran its unit tests, and they all passed. I then ran `lein ancient upgrade :check-clojure` to upgrade all the dependencies to their latest versions, ran the unit tests again, and they all passed.
I did get one 'deprecated' warning. I can live with that!
It's not stability that I c…

@simon_brooke@mastodon.scot
2026-02-03 14:26:47

In #Clojure, if you query a set for a member, and that member is present, that member is returned:
user=> (#{:a :b :c} :a)
:a
The traditional #Lisp function ASSOC has the signature
(ASSOC store key) => value
where store is assumed to be a list of (key . value) dotted pai…

@simon_brooke@mastodon.scot
2026-02-13 22:30:24

Should
(= 3/4 0.75)
return true (or 't)? You'd think so.
#SBCL 2.5.2 does think so.
MIT/GNU Scheme also thinks so.
#Interlisp Medley agrees.
I think this is correct behaviour.
#Clojure