(compose & fns)
Compose is like Clojure's standard comp, but for this system we like to know the arity of our functions, so that we can calculate their derivatives with structure, etc. The arity of a composition is simply the arity of its rightmost (that is, first to be applied) function term.
Compose is like Clojure's standard comp, but for this system we like to know the arity of our functions, so that we can calculate their derivatives with structure, etc. The arity of a composition is simply the arity of its rightmost (that is, first to be applied) function term.
(literal-function f)
(literal-function f signature)
(literal-function f domain range)
(sicm-signature->domain-range [arrow domain range])
Convert a SICM-style literal function signature (e.g., '(-> Real (X Real Real)) ) to our 'exemplar' format.
Convert a SICM-style literal function signature (e.g., '(-> Real (X Real Real)) ) to our 'exemplar' format.
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 |