Liking cljdoc? Tell your friends :D

defun.core

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
raw docstring

defunclj/smacro

(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.
sourceraw docstring

defun-clj/smacro

(defun- name & decls)

same as defun, yielding non-public def

same as defun, yielding non-public def
sourceraw docstring

funclj/smacro

(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.
sourceraw docstring

if-cljsclj/smacro

(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/
sourceraw docstring

letfunclj/smacro

(letfun fnspecs & body)

letfn with parameter pattern matching.

letfn with parameter pattern matching.
sourceraw docstring

matchclj/smacro

(match & args)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close