Liking cljdoc? Tell your friends :D
Mostly clj.
Exceptions indicated.

robertluo.fun-map

fun-map Api

fun-map Api
raw docstring

fnkclj/smacro

(fnk args & body)

a function with all its args taken from a map, args are the values of corresponding keys by args' name

a function with all its args taken from a map, args are the
values of corresponding keys by args' name
sourceraw docstring

fun-mapclj

(fun-map m & {:keys [trace-fn]})

Returns a new fun-map.

when put a function as a value in a fun-map, it will be invoked with the map itself and returns the value as the value when referred by the key associated, and only be invoked once.

:trace-fn is a side effect function accept key, value as the underlying function is really invoked

Returns a new fun-map.

when put a function as a value in a fun-map, it will be invoked
with the map itself and returns the value as the value
when referred by the key associated, and only
be invoked once.

:trace-fn is a side effect function accept key, value as the
 underlying function is really invoked
sourceraw docstring

Haltablecljprotocol

Life cycle protocol, signature just like java.io.Closeable, being a protocol gives user ability to extend

Life cycle protocol, signature just like java.io.Closeable,
being a protocol gives user ability to extend

halt!clj

(halt! this)
sourceraw docstring

life-cycle-mapclj

(life-cycle-map m)

returns a fun-map can be shutdown orderly.

any value supports Closeable in this map will be considered as a component, it will be closed in reversed order of its invoking. Notice only accessed components will be shutdown.

returns a fun-map can be shutdown orderly.

any value supports `Closeable` in this map will be considered as a
component, it will be closed in reversed order of its invoking.
Notice only accessed components will be shutdown.
sourceraw docstring

touchclj

(touch m)

forcefully evaluate all entries of a map

forcefully evaluate all entries of a map
sourceraw docstring

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

× close