This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-27
Channels
- # announcements (24)
- # babashka (26)
- # beginners (8)
- # calva (8)
- # clojure (78)
- # clojure-europe (1)
- # clojure-norway (22)
- # clojurescript (14)
- # datascript (5)
- # datomic (8)
- # fulcro (22)
- # helix (9)
- # humbleui (11)
- # malli (4)
- # off-topic (28)
- # pedestal (5)
- # reitit (10)
- # shadow-cljs (2)
- # tools-build (8)
- # tools-deps (9)
ok, better to change the guard
from function into Schema object. Bit more wrapping, but supports custom error messages etc out-of-the-box:
👏 2
spec uses single map as argument with :ret
and :args
keys, I think it’s more clear to use positional args instead, e.g. the guard function is of type args ret -> boolean
.