This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-22
Channels
- # beginners (124)
- # boot (7)
- # cider (73)
- # cljs-dev (37)
- # cljsrn (6)
- # clojure (85)
- # clojure-greece (4)
- # clojure-italy (67)
- # clojure-nl (6)
- # clojure-russia (4)
- # clojure-spec (6)
- # clojure-uk (48)
- # clojurescript (26)
- # cursive (5)
- # data-science (23)
- # datomic (63)
- # editors (5)
- # emacs (4)
- # graphql (13)
- # immutant (2)
- # lumo (4)
- # mount (3)
- # off-topic (1)
- # onyx (4)
- # pedestal (7)
- # portkey (10)
- # re-frame (14)
- # reagent (10)
- # ring-swagger (18)
- # shadow-cljs (97)
- # spacemacs (1)
- # tools-deps (9)
- # vim (1)
- # yada (13)
@cfleming So that was really helpful, ta. I now have a related question that may well be much more awkward 😉
Sometimes I have a cond
in a loop/recur, where the conditional or the action is quite long. So ideally I want to split the two across separate lines. E.g.
(cond
(conditional-1-which-is-very-long)
(action-1-which-is-also-very-long)
(conditional-2)
(action-2))
So the extra indentation instead of having conditional
and action
at the same level is to help indicate that they are effectively paired, even though the action doesn't sit within the conditional