Hi,
I've been looking for a better way to do error handling in my apps and this library looks like the kind of thing I want.
I'm confused about either-let, and I don't know if I understand how it works:
(either-let [a (ok 1)
b (inc a)]
a)
=> 2
Shouldn't the above snippet return 1 or (ok 1)?
If not, sorry for bugging you :)
-Caleb
Hi,
I've been looking for a better way to do error handling in my apps and this library looks like the kind of thing I want.
I'm confused about
either-let, and I don't know if I understand how it works:Shouldn't the above snippet return
1or(ok 1)?If not, sorry for bugging you :)
-Caleb