A macro to define Clojure functions with parameter pattern matching
just like LFE based on core.match. Please see
https://github.com/clojusc/defun
A macro to define Clojure functions with parameter pattern matching just like LFE based on `core.match`. Please see https://github.com/clojusc/defun
(defun name & fdecl)Define a function just like clojure.core/defn, but using core.match to match parameters. See https://github.com/killme2008/defun for details.
Define a function just like clojure.core/defn, but using core.match to match parameters. See https://github.com/killme2008/defun for details.
(defun- name & decls)same as defun, yielding non-public def
same as defun, yielding non-public def
(fun & sigs)Defines a function just like clojure.core/fn with parameter pattern matching See https://github.com/killme2008/defun for details.
Defines a function just like clojure.core/fn with parameter pattern matching See https://github.com/killme2008/defun for details.
(if-cljs then else)Return then if we are generating cljs code and else for clj code. Source: http://blog.nberger.com.ar/blog/2015/09/18/more-portable-complex-macro-musing/
Return then if we are generating cljs code and else for clj code. Source: http://blog.nberger.com.ar/blog/2015/09/18/more-portable-complex-macro-musing/
(letfun fnspecs & body)letfn with parameter pattern matching.
letfn with parameter pattern matching.
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 |