Liking cljdoc? Tell your friends :D

meme.alpha.rewrite.rules

Rewrite rule sets for S→M and M→S transformations. Each direction is a vector of rules for meme.alpha.rewrite/rewrite.

Rewrite rule sets for S→M and M→S transformations.
Each direction is a vector of rules for meme.alpha.rewrite/rewrite.
raw docstring

m->s-rulesclj/s

Rules that convert m-call nodes back to S-expression lists.

Rules that convert m-call nodes back to S-expression lists.
sourceraw docstring

rewrite-inside-reader-conditionalsclj/s

(rewrite-inside-reader-conditionals rewrite-fn form)

Walk a form tree and apply rewrite-fn to values inside ReaderConditional objects. The rewrite engine doesn't descend into ReaderConditionals (they're not sequential), so this is needed to e.g. apply S→M rules inside #?(:clj ...) branches.

Walk a form tree and apply rewrite-fn to values inside ReaderConditional objects.
The rewrite engine doesn't descend into ReaderConditionals (they're not sequential),
so this is needed to e.g. apply S→M rules inside #?(:clj ...) branches.
sourceraw docstring

s->m-rulesclj/s

Rules that tag S-expression calls as m-call nodes. List patterns only match lists (not vectors) — the engine distinguishes them.

Rules that tag S-expression calls as m-call nodes.
List patterns only match lists (not vectors) — the engine distinguishes them.
sourceraw docstring

transform-structuresclj/s

(transform-structures form)
(transform-structures form opts)

Walk a tree and convert structural tags to Clojure data/AST nodes. With opts {:read-cond :preserve}, reader conditionals are preserved as ReaderConditional objects instead of being evaluated.

Walk a tree and convert structural tags to Clojure data/AST nodes.
With opts {:read-cond :preserve}, reader conditionals are preserved
as ReaderConditional objects instead of being evaluated.
sourceraw docstring

tree->s-rulesclj/s

Rules that flatten tagged tree nodes to Clojure forms.

Rules that flatten tagged tree nodes to Clojure forms.
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