clojure-europe 2025-10-06

Good morning!

Good morning πŸ™‚

I always forget that fnil exists

πŸ˜΅β€πŸ’« 1

it’s something about the name, I think. It doesn’t really communicate its purpose well.

βž• 2

I like it paired with update. But that's about it, I don't think I ever use it otherwise. ex: (update {} :foo (fnil conj #{}) :bar)

2

also counters: (update {} :count (fnil inc 0))

1

I don't think, I have actively used it.

I think fnil was the first of the point-free functions where I experienced enlightenment. I was doing some convoluted beginner-Clojurian hack because I was ignorant of it and Jack pointed to clojure.core and πŸŒ…

🧘 2
☺️ 2

L Good Morning

(fnil morning :good)

πŸ‘ 1
πŸ˜‚ 1

dang, now you never have to write here again.

good morning

Good morning!