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.

Define a function just like clojure.core/defn, but using core.match to
match parameters.
sourceraw docstring

defun-clj/smacro

(defun- name & decls)

same as defun, yielding non-public def

same as defun, yielding non-public def
sourceraw docstring

fletclj/smacro

(flet fnspecs & body)

letfn with parameter pattern matching.

letfn with parameter pattern matching.
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

lambdaclj/smacro

(lambda & sigs)

Defines a function just like clojure.core/fn with parameter pattern matching.

Defines a function just like clojure.core/fn with parameter pattern matching.
sourceraw docstring

matchclj/smacro

(match & args)
source

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

× close