summaryrefslogtreecommitdiff
path: root/cljlib-macros.fnl
diff options
context:
space:
mode:
authorAndrey Orst <andreyorst@gmail.com>2020-11-22 22:30:45 +0300
committerAndrey Orst <andreyorst@gmail.com>2020-11-22 22:30:45 +0300
commit86658201582859775eaacd23e93a90c9212de425 (patch)
tree7117e78e5e9d37b925cc9eaab70539b7ddb2c125 /cljlib-macros.fnl
parent015206974763b55e971276727a923a4eb5757f21 (diff)
feature(docs): order items in macros doc
Diffstat (limited to 'cljlib-macros.fnl')
-rw-r--r--cljlib-macros.fnl8
1 files changed, 6 insertions, 2 deletions
diff --git a/cljlib-macros.fnl b/cljlib-macros.fnl
index 7b94f85..c01c8bc 100644
--- a/cljlib-macros.fnl
+++ b/cljlib-macros.fnl
@@ -518,8 +518,7 @@ from `ns.strings`, so the latter must be fully qualified
`(local ,name ,(with-meta `(fn ,name [...] ,docstring ,body) `{:fnl/arglist ,arglist-doc})))
(with-meta `(fn [...] ,docstring ,body) `{:fnl/arglist ,arglist-doc}))))
-(attach-meta fn* {:fnl/arglist ["name docstring? [arglist*] body*"
- "name docstring ([arglist*] body)*"]})
+(attach-meta fn* {:fnl/arglist ["name docstring? ([arglist*] body)*"]})
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; let variants ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -1006,6 +1005,11 @@ calls will not override existing bindings:
:_VERSION #"0.3.0"
:_LICENSE #"[MIT](https://gitlab.com/andreyorst/fennel-cljlib/-/raw/master/LICENSE)"
:_COPYRIGHT #"Copyright (C) 2020 Andrey Orst"
+ :_DOC_ORDER #[:fn*
+ :def :defonce :defmulti :defmethod
+ :into :empty
+ :when-meta :with-meta :meta
+ :if-let :when-let :if-some :when-some]
:_DESCRIPTION #"Macros for Cljlib that implement various facilities from Clojure."}
;; LocalWords: arglist fn runtime arities arity multi destructuring