Fork me on GitHub
#clojure-uk
<
2021-08-17
>
djm05:08:07

👋

4
dharrigan06:08:19

Good Morning!

4
Jakob Durstberger07:08:33

Morning 🙂

thomas08:08:02

mogge : 😼

Luis Thiam-Nye10:08:28

Good Morningâ„¢

folcon12:08:01

Morn' 😃

mccraigmccraig13:08:06

is it just me, or does anyone repeatedly forget that case can only dispatch on literal values ?

minimal14:08:32

just you?

😂 6
folcon15:08:40

I've never really used case much, I mainly reach for condp =, not sure if that's a good thing or not...

mccraigmccraig15:08:05

each time it happens to me i replace case with condp = and think "i must remember that"

minimal15:08:38

i think of case as an optimisation when you have static values to check

3
mccraigmccraig15:08:37

that is the sensible way to think about it... i guess i'm just imprinted by other languages or something and can't get out of the habit