Liking cljdoc? Tell your friends :D

meme.alpha.forms

Shared form-level predicates and constructors. Cross-stage contracts that both the parser and printer depend on.

Shared form-level predicates and constructors.
Cross-stage contracts that both the parser and printer depend on.
raw docstring

build-anon-fn-paramsclj/s

(build-anon-fn-params param-set)

Build [%1 %2 ...] or [%1 & %&] param vector from collected param types.

Build [%1 %2 ...] or [%1 & %&] param vector from collected param types.
sourceraw docstring

deferred-auto-keywordclj/s

(deferred-auto-keyword raw)

Wrap a :: keyword string as a deferred eval form. Returns a MemeAutoKeyword record that the printer can recognize unambiguously and the expander converts to (clojure.core/read-string "::foo") before eval.

Wrap a :: keyword string as a deferred eval form.
Returns a MemeAutoKeyword record that the printer can recognize
unambiguously and the expander converts to (clojure.core/read-string "::foo")
before eval.
sourceraw docstring

deferred-auto-keyword->formclj/s

(deferred-auto-keyword->form ak)

Convert a MemeAutoKeyword to an eval-able list form: (clojure.core/read-string "::foo").

Convert a MemeAutoKeyword to an eval-able list form:
(clojure.core/read-string "::foo").
sourceraw docstring

deferred-auto-keyword-rawclj/s

(deferred-auto-keyword-raw form)

Extract the raw :: keyword string from a deferred form. Caller must check deferred-auto-keyword? first.

Extract the raw :: keyword string from a deferred form.
Caller must check deferred-auto-keyword? first.
sourceraw docstring

deferred-auto-keyword?clj/s

(deferred-auto-keyword? form)

Is form a deferred auto-resolve keyword produced by the reader?

Is form a deferred auto-resolve keyword produced by the reader?
sourceraw docstring

find-percent-paramsclj/s

(find-percent-params form)

Walk form collecting % param types. Skips nested (fn ...) bodies.

Walk form collecting % param types. Skips nested (fn ...) bodies.
sourceraw docstring

internal-meta-keysclj/s

Metadata keys used internally by the meme pipeline. Excluded when checking for user-visible metadata.

Metadata keys used internally by the meme pipeline.
Excluded when checking for user-visible metadata.
sourceraw docstring

make-reader-conditionalclj/s

(make-reader-conditional form splicing?)

Construct a reader conditional. Portable: uses native type on JVM, MemeReaderConditional on CLJS.

Construct a reader conditional. Portable: uses native type on JVM,
MemeReaderConditional on CLJS.
sourceraw docstring

meme-reader-conditional?clj/s

(meme-reader-conditional? x)

Is x a reader conditional? Portable across JVM and CLJS.

Is x a reader conditional? Portable across JVM and CLJS.
sourceraw docstring

normalize-bare-percentclj/s

(normalize-bare-percent form)

Replace bare % with %1 in form. Skips nested (fn ...) bodies.

Replace bare % with %1 in form. Skips nested (fn ...) bodies.
sourceraw docstring

percent-param-typeclj/s

(percent-param-type sym)

If sym is a % parameter symbol, return its type: :bare, :rest, or the integer N. Returns nil otherwise.

If sym is a % parameter symbol, return its type: :bare, :rest, or the integer N.
Returns nil otherwise.
sourceraw docstring

raw-textclj/s

(raw-text x)
source

raw-valueclj/s

(raw-value x)
source

raw?clj/s

(raw? x)
source

rc-formclj/s

(rc-form rc)

Get the form list from a reader conditional.

Get the form list from a reader conditional.
sourceraw docstring

rc-splicing?clj/s

(rc-splicing? rc)

Is this a splicing reader conditional (#?@)?

Is this a splicing reader conditional (#?@)?
sourceraw docstring

strip-internal-metaclj/s

(strip-internal-meta m)

Remove internal meme metadata keys, returning only user-visible metadata.

Remove internal meme metadata keys, returning only user-visible metadata.
sourceraw docstring

syntax-quote?clj/s

(syntax-quote? x)

Is x a syntax-quote AST node?

Is x a syntax-quote AST node?
sourceraw docstring

unquote-splicing?clj/s

(unquote-splicing? x)

Is x an unquote-splicing AST node?

Is x an unquote-splicing AST node?
sourceraw docstring

unquote?clj/s

(unquote? x)

Is x an unquote AST node?

Is x an unquote AST node?
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close