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/fn.fnl | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tests/fn.fnl') diff --git a/tests/fn.fnl b/tests/fn.fnl index aa86b12..4381a60 100644 --- a/tests/fn.fnl +++ b/tests/fn.fnl @@ -32,13 +32,3 @@ :fnl/arglist ["\n ([x])" "\n ([x y])" "\n ([x y & z])"]})))) - -(deftest fn+ - (testing "fn+ meta" - (fn+ f "docstring" [x] x) - (assert-eq (meta f) (when-meta {:fnl/docstring "docstring" - :fnl/arglist ["x"]})) - - (fn+ f "docstring" [...] [...]) - (assert-eq (meta f) (when-meta {:fnl/docstring "docstring" - :fnl/arglist ["..."]})))) -- cgit v1.2.3