Liking cljdoc? Tell your friends :D

robertluo.pullable.option

Options are query wrappers, they are also queries

Options are query wrappers, they are also queries
raw docstring

AsOptionclj


BatchOptionclj


camel-caseclj

(camel-case s)

def-query-optioncljmacro

(def-query-option option-name arg & {:syms [key value-of transform assert-arg]})

Define an option with option-name (must be a keyword), an argument. When define an option, implicit binding this and query can be used. An option can have optional methods:

  • key the key of result
  • value-of the value of the result, binding m means the data source.
  • transform transforming target with m source
  • assert-args asserts if argument provided is legal
Define an option with option-name (must be a keyword), an argument.
When define an option, implicit binding `this` and `query` can be used.
An option can have optional methods:
 - `key` the key of result
 - `value-of` the value of the result, binding `m` means the data source.
 - `transform` transforming `target` with `m` source
 - `assert-args` asserts if argument provided is legal
raw docstring

ExceptionOptionclj


NotFoundOptionclj


pattern-errorclj

(pattern-error msg arg)

SeqOptionclj


value-errorclj

(value-error msg v)

WithOptionclj

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

× close