Liking cljdoc? Tell your friends :D

re-cog.common.defs

Def macros

Def macros
raw docstring

def-inlinecljmacro

(def-inline & args)

Construct a serialized function where:

  • Each serialized function within its body is inlined using a letfn form.
  • The result of the function is a map containing the output of each nested call and its measured runtime.
  • Using meta data :depends we can specify dependencies between recipe functions that will be accounted for in re-cog.plan/execution-plan.
Construct a serialized function where:
* Each serialized function within its body is inlined using a letfn form.
* The result of the function is a map containing the output of each nested call and its measured runtime.
* Using meta data :depends we can specify dependencies between recipe functions that will be accounted for in re-cog.plan/execution-plan.
sourceraw docstring

def-serialcljmacro

(def-serial & in-args)

Define a serializable function

Define a serializable function
sourceraw docstring

distinct-byclj

(distinct-by f coll)
source

do-bodyclj

(do-body body)

Surround multi body s-exp with do

Surround multi body s-exp with do
sourceraw docstring

inlinedclj

(inlined f profile)

Capture function source for inlining

Capture function source for inlining
sourceraw docstring

inlined-functionsclj

(inlined-functions body profile)
source

parse-argsclj

(parse-args args)
source

require-defsclj

(require-defs)

Require common constant values

Require common constant values
sourceraw docstring

source-ofclj

(source-of f)

Get the source of a function (works only from the repl)

Get the source of a function (works only from the repl)
sourceraw docstring

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

× close