Liking cljdoc? Tell your friends :D

pattern.r3.core

This namespace bootstraps the core rule macro and some utility functions.

This namespace bootstraps the core rule macro and some utility functions.
raw docstring

pattern.r3.rewrite

This namespace defines several rulesets and related macros that enhance the expressive power of the rules engine.

Most of these rulesets are defined in a style inspired by the nanopass compiler, using directed to control the rule matcher's descent into the expression being transformed.

The rules defined in this namespace must make use of a limited subset of this library's functionality since they are defining that functionality in terms of the base operations.

Arity-1 rules may not be used, nor may sub or quo.

This namespace defines several functions in terms of various combinations of the same rulesets. The core idea is to transform native Clojure sytax-quoted forms. In the case of regular quoted lists, they may be expanded into syntax-quoted form before being transformed and then possibly simplified back as close to their original shape as possible. This transformation enables unquoting on regular quoted lists and other data structures.

Note that sequence is included in the rules because when booting, Clojure's syntax quote expands slightly differently than at runtime. It also uses lists rather than Cons objects at boot.

This namespace defines several rulesets and related macros that enhance the expressive
power of the rules engine.

Most of these rulesets are defined in a style inspired by the nanopass compiler, using
directed to control the rule matcher's descent into the expression
being transformed.

The rules defined in this namespace must make use of a limited subset of this library's
functionality since they are defining that functionality in terms of the base operations.

Arity-1 rules may not be used, nor may sub or quo.

This namespace defines several functions in terms of various combinations of the same
rulesets. The core idea is to transform native Clojure sytax-quoted forms. In the case
of regular quoted lists, they may be expanded into syntax-quoted form before being transformed
and then possibly simplified back as close to their original shape as possible. This
transformation enables unquoting on regular quoted lists and other data structures.

Note that `sequence` is included in the rules because when booting, Clojure's
syntax quote expands slightly differently than at runtime. It also uses lists rather
than Cons objects at boot.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close