Functions available by default in patterns.
Functions available by default in patterns.
(rest-arg? sexp)
There's no good way to tell the difference between the pattern
'(if ?x ?y nil)
and '(if ?x (do &&. ?y))
if ?y
is a list.
Instead, attach metadata to the captured rest arg and look for it in rules.
There's no good way to tell the difference between the pattern `'(if ?x ?y nil)` and `'(if ?x (do &&. ?y))` if `?y` is a list. Instead, attach metadata to the captured rest arg and look for it in rules.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close