implementation of fun-maps.
a fun-map delegates its storage to underlying map m, m stores k,v pair with value wrapped inside a wrapper, when requested an entry from a fun-map, instead of returning map entry like an ordinary map, it returns a special version of entry, evaluate it's value by invoking the wrapper.
implementation of fun-maps. a fun-map delegates its storage to underlying map m, m stores k,v pair with value wrapped inside a wrapper, when requested an entry from a fun-map, instead of returning map entry like an ordinary map, it returns a special version of entry, evaluate it's value by invoking the wrapper.
(delegate-map* wrapper-fn m)
create a fun-map with wrapper-fn to wrap values of underlying m
create a fun-map with wrapper-fn to wrap values of underlying m
(function-wrapper trace-fn k v)
returns a FunctionWrapper wraps value v
returns a FunctionWrapper wraps value v
(raw this)
returns the raw value of the wrapper
returns the raw value of the wrapper
(unwrap this m)
unwrap the real value from a wrapper
unwrap the real value from a wrapper
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close