Utility functions dealing with checking or tranforming forms or zippers.
Utility functions dealing with checking or tranforming forms or zippers.
(first-named? form desired)
Is the form's first element a symbol whose name is the desired string?
Is the form's first element a symbol whose name is the desired string?
(preserve-type original-form transformed-form)
If the original form was a vector, make the transformed form a vector too.
If the original form was a vector, make the transformed form a vector too.
(quoted-list-form? form)
True if the form is a quoted list such as the reader might return
True if the form is a quoted list such as the reader might return
(reader-line-number form)
Find what line number the reader put on the given form or on one of its elements. If no line numbers, a warning string.
Find what line number the reader put on the given form or on one of its elements. If no line numbers, a warning string.
(reader-list-form? form)
True if the form is a parenthesized list of the sort the reader can return.
True if the form is a parenthesized list of the sort the reader can return.
(symbol-named? x string)
Is the thing a symbol with the name given by the string?
Is the thing a symbol with the name given by the string?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close