(get {memo :com.potetm.fusebox.memoize/memo f :com.potetm.fusebox.memoize/fn}
&
args)
Retrieve a value, invoking ::fn if necessary.
Retrieve a value, invoking ::fn if necessary.
(init {f :com.potetm.fusebox.memoize/fn :as spec})
Initialize a memoized function.
spec is a map containing: ::fn - The function to memoize
::fn is guaranteed to be called once.
Initialize a memoized function. spec is a map containing: ::fn - The function to memoize ::fn is guaranteed to be called once.
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 |