This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-27
Channels
- # beginners (80)
- # boot (5)
- # cider (4)
- # cljsrn (3)
- # clojure (83)
- # clojure-russia (1)
- # clojure-spec (15)
- # clojurescript (20)
- # community-development (8)
- # cursive (6)
- # emacs (5)
- # fulcro (14)
- # hoplon (71)
- # off-topic (6)
- # om (2)
- # onyx (33)
- # parinfer (3)
- # re-frame (21)
- # reagent (20)
- # spacemacs (2)
- # specter (4)
- # vim (8)
Hi! I've been thinking of defining a new path with parameters. I saw that paramsfn
is not available anymore. Now, I think of two possible ways to define the path: (defn [& params] (spec/path ...))
or with declarepath
and providepath
(BTW, for this last pair of functions there's not an example of using parameters on the wiki). Which one should I use? :thinking_face:
@franquito just use defn
and define the returned path with path