(build-fn-call terms)
Formats terms
as a function call
Formats `terms` as a function call
(build-predicate c f)
Formats the collection string c
and the field string f
by joining them
with a '/'
Formats the collection string `c` and the field string `f` by joining them with a '/'
(build-var s)
Formats s
as a var by prepending '?', filtering out '/', and lowerCamelCasing
the remaining string
Formats `s` as a var by prepending '?', filtering out '/', and lowerCamelCasing the remaining string
Template for representing flake collections
Template for representing flake collections
Template for storing flake subjects as variables
Template for storing flake subjects as variables
Template for represent collection fields
Template for represent collection fields
(field->predicate-template f)
Build a flake predicate template string from the collection template and the
known field value f
Build a flake predicate template string from the collection template and the known field value `f`
Template for storing flake fields as variables
Template for storing flake fields as variables
(fill-in tmpl-str tmpl v)
(fill-in-collection coll-name tmpl-data)
Fills in the known collection name coll-name
wherever the collection template
appears in tmpl-str
Fills in the known collection name `coll-name` wherever the collection template appears in `tmpl-str`
(normalize s)
Formats s
by removing any '/' and capitalizing the following character for
each '/' removed
Formats `s` by removing any '/' and capitalizing the following character for each '/' removed
Template for representing flake predicates with both collection and field missing
Template for representing flake predicates with both collection and field missing
(predicate? s)
Returns true if s
is a predicate string
Returns true if `s` is a predicate string
(template-for kw)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close