Various functions that modify other functions that are not (currently) available in clojure.core.
Various functions that modify other functions that are not (currently) available in clojure.core.
(cps->fn f callback)
Takes a function f that takes a callback and returns a new fn that runs synchronously. If callback throws then the exception will be propagated outward.
Takes a function f that takes a callback and returns a new fn that runs synchronously. If callback throws then the exception will be propagated outward.
(kwargify f)
Takes a function that expects a map and returns a function that accepts keyword arguments on its behalf.
Takes a function that expects a map and returns a function that accepts keyword arguments on its behalf.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |