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
Clojure's special case* form is used for constant type matching on literal values. It's wrapped by a case macro which breaks down the inputs into the necessary bits needed for case*. For example:
Clojure's special
case*
form is used for constant type matching on literal values. It's wrapped by acase
macro which breaks down the inputs into the necessary bits needed forcase*
. For example:It has certain optimizations for when all of the values are integers. For example, if we add a string branch to the above:
Resources
case
macro: https://github.com/clojure/clojure/blob/58d0225dc33e7e61837c63fd581f63b2f42a3886/src/clj/clojure/core.clj#L6789The text was updated successfully, but these errors were encountered: