Like cond, but test-value is compared against the value of each
test expression with =. If they are equal, executes the "body"
expression. Optional last expression is executed if none of the
test expressions match.
(defmacro case "Like cond, but test-value is compared against the value of each test expression with =. If they are equal, executes the \"body\" expression. Optional last expression is executed if none of the test expressions match." [test-value & clauses] `(fcase = ~test-value ~@clauses))
Comments top
No comments for case. Log in to add a comment.