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.
(symbol-class? sym)
Is the provided object a simple symbol that matches an imported class?
Is the provided object a simple symbol that matches an imported class?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close