From 60d99f85b6d4f0ec23ad21d3b1767084c5eb8b46 Mon Sep 17 00:00:00 2001 From: Andrey Listopadov Date: Fri, 19 Feb 2021 20:19:37 +0300 Subject: 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 --- macros.fnl | 52 +++++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 25 deletions(-) (limited to 'macros.fnl') 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 -- cgit v1.2.3