match
Jump to function (1) ›
match/match#
(match targets & body)
Pattern matching over a vector of targets.
Example:
(match [x y] [0 _] :zero-x [_ 0] :zero-y [a b] [:both a b])