Good morning!
K Good Morning
Morning
Mogge
Good morning π
I always forget that fnil exists
itβs something about the name, I think. It doesnβt really communicate its purpose well.
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)
also counters: (update {} :count (fnil inc 0))
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 π
L Good Morning
(fnil morning :good)
dang, now you never have to write here again.
Morning
good morning
Good morning!