You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
Please check out this code in LightTable:
(defn dispatch-updates [entity-type & _] entity-type)
(defmulti updates dispatch-updates)
(defmethod updates :default [entity-type context known-versions & uids]
:anything-else
)
(defmethod updates :Edition [entity-type context known-versions & uids]
:asking-for-a-single-edition
)
(updates :Edition nil nil)
Results in
defn dispatch-updates [entity-type & _] entity-type)
(defmulti updates dispatch-updates)|| => nil||
(defmethod updates :default [entity-type context known-versions & uids]
:anything-else
)|| => clojure.lang.MultiFn@4f3e9f6f||
(defmethod updates :Edition [entity-type context known-versions & uids]
:asking-for-a-single-edition
)|| => clojure.lang.MultiFn@4f3e9f6f||
(updates :Edition nil nil)|| => :anything-else||
However, the call to (updates :Edition nil nil) should result in (and it does in any other Clojure 1.3 REPL) :asking-for-a-single-edition.
The text was updated successfully, but these errors were encountered: