This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-25
Channels
- # alda (7)
- # aleph (10)
- # announcements (3)
- # babashka (103)
- # beginners (54)
- # calva (62)
- # clerk (2)
- # clj-yaml (27)
- # cljs-dev (1)
- # clojure (61)
- # clojure-europe (64)
- # clojure-nl (3)
- # clojure-norway (34)
- # clojure-sweden (4)
- # clojure-uk (4)
- # conjure (9)
- # cursive (1)
- # data-science (3)
- # fulcro (20)
- # gratitude (1)
- # hyperfiddle (54)
- # lsp (9)
- # malli (7)
- # meander (4)
- # membrane (17)
- # off-topic (23)
- # releases (3)
- # sci (1)
- # shadow-cljs (5)
- # sql (1)
- # tree-sitter (8)
- # vim (6)
Whats the prescribed manner in which to write =>
function specs for defmulti
forms/clauses, where the signature varies between each defmethod
? Not seeing anything specific in the docs
there is nothing for that at the moment, but would :multi
get you anywhere close to what you want?
thats what i thought of first, but i was unsure "where" the :multi
defs belonged in the schema/how i would dispatch
As in, suppose I wrapped multiple :=>
's in the :multi
, and I was dispatching based off the first argument of the multi-fn: how should i reference that first argument?
separate question, is there a go-to way to denote an atom, or a delayed value? also can't find a clear answer on the docs