summaryrefslogtreecommitdiff
path: root/macros.fnl
diff options
context:
space:
mode:
authorAndrey Listopadov <andreyorst@gmail.com>2021-02-19 20:19:37 +0300
committerAndrey Listopadov <andreyorst@gmail.com>2021-02-19 20:19:37 +0300
commit60d99f85b6d4f0ec23ad21d3b1767084c5eb8b46 (patch)
treeb99703275e20b86146517cc132c988a30155dc74 /macros.fnl
parenta0318645ec4ed7f4bfa6ab50d0a5ee7fc67b8006 (diff)
fix: release 0.5.1
- eq will no longer change metamethods of tables - module info is hidden in metatable now - memoize uses proper deep comparison - tests no longer requires searching up in core namespace - memoization test doesn't depend on CPU speed anymore
Diffstat (limited to 'macros.fnl')
-rw-r--r--macros.fnl52
1 files changed, 27 insertions, 25 deletions
diff --git a/macros.fnl b/macros.fnl
index 75effd5..4503242 100644
--- a/macros.fnl
+++ b/macros.fnl
@@ -1197,31 +1197,33 @@ Always run some side effect action:
"})
-{: fn*
- : try
- : if-let
- : when-let
- : if-some
- : when-some
- : empty
- : into
- : when-meta
- : with-meta
- : meta
- : defmulti
- : defmethod
- : def
- : defonce
- :_VERSION #"0.5.0"
- :_LICENSE #"[MIT](https://gitlab.com/andreyorst/fennel-cljlib/-/raw/master/LICENSE)"
- :_COPYRIGHT #"Copyright (C) 2020-2021 Andrey Listopadov"
- :_DOC_ORDER #[:fn*
- :try
- :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."}
+(setmetatable
+ {: fn*
+ : try
+ : if-let
+ : when-let
+ : if-some
+ : when-some
+ : empty
+ : into
+ : when-meta
+ : with-meta
+ : meta
+ : defmulti
+ : defmethod
+ : def
+ : defonce}
+ {:__index
+ {:_VERSION "0.5.1"
+ :_LICENSE "[MIT](https://gitlab.com/andreyorst/fennel-cljlib/-/raw/master/LICENSE)"
+ :_COPYRIGHT "Copyright (C) 2020-2021 Andrey Listopadov"
+ :_DOC_ORDER [:fn*
+ :try
+ :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
;; LocalWords: docstring Variadic LocalWords multisym sym tbl eq Lua