From 8a136eaa444f4569fced95fb175ca41b1e8e9b94 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Tue, 17 Nov 2020 20:43:37 +0300 Subject: feature: major overhaul of documentation, and some housekeeping - remove(macros): `fn+` as it seem impractical, and `fn*` can be used instead - rename(def, defonce): `:dynamic` to `:mutable` as dynamic implies dynamic scoping which is not feature of Lua. - doc: generated documentation for macro module. --- tests/core.fnl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/core.fnl') diff --git a/tests/core.fnl b/tests/core.fnl index 5dc4953..edd72f4 100644 --- a/tests/core.fnl +++ b/tests/core.fnl @@ -5,7 +5,8 @@ "Require module and bind all it's functions to locals." `(local ,(let [destr-map# {}] (each [k# _# (pairs (require module))] - (tset destr-map# k# (sym k#))) + (when (not= (string.sub k# 1 1) :_) + (tset destr-map# k# (sym k#)))) destr-map#) (require ,module))) -- cgit v1.2.3