As the plasmodesma provides a mechanism for communication and nutrients to pass through cell walls in plants, so this namespace provides mechanisms for specific dynamic vars to pass across thread boundaries. It only works if permeating vars are declared with def-dyn, and if the clojure.core fns/macros bound-fn, bound-fn*, pmap, and future are replaced by the equivalents defined here.
As the plasmodesma provides a mechanism for communication and nutrients to pass through cell walls in plants, so this namespace provides mechanisms for specific dynamic vars to pass across thread boundaries. It only works if permeating vars are declared with def-dyn, and if the clojure.core fns/macros bound-fn, bound-fn*, pmap, and future are replaced by the equivalents defined here.
(bound-fn & fntail)
This mimics clojure.core/bound-fn, but only passes along local bindings for vars present in utiliva.plasmodesma/registry.
This mimics clojure.core/bound-fn, but only passes along local bindings for vars present in utiliva.plasmodesma/registry.
(bound-fn* f)
This mimics clojure.core/bound-fn*, but only passes along local bindings for vars present in eva.concurrent.plasmodesma/registry.
This mimics clojure.core/bound-fn*, but only passes along local bindings for vars present in eva.concurrent.plasmodesma/registry.
(def-dyn var val)
This is just a def that also happens to register the new var in utiliva.plasmodesma/registry.
This is just a def that also happens to register the new var in utiliva.plasmodesma/registry.
(future & body)
This mimics clojure.core/future, but uses utiliva.plasmodesma/bound-fn and returns a tessera.
This mimics clojure.core/future, but uses utiliva.plasmodesma/bound-fn and returns a tessera.
(pmap f coll)
(pmap f coll & colls)
This wraps f in utiliva.plasmodesma/bound-fn*, then delegates to pmap.
This wraps f in utiliva.plasmodesma/bound-fn*, then delegates to pmap.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close