diff options
| author | Andrey Orst <andreyorst@gmail.com> | 2020-11-17 20:43:37 +0300 |
|---|---|---|
| committer | Andrey Orst <andreyorst@gmail.com> | 2020-11-17 20:43:37 +0300 |
| commit | 8a136eaa444f4569fced95fb175ca41b1e8e9b94 (patch) | |
| tree | 65a3b02ff65150cb2f2e5656b98ab832be39f421 /tests/fn.fnl | |
| parent | 5753537138f6a0c71ddb6a8d9770b7cb13c1bd3f (diff) | |
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.
Diffstat (limited to 'tests/fn.fnl')
| -rw-r--r-- | tests/fn.fnl | 10 |
1 files changed, 0 insertions, 10 deletions
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 ["..."]})))) |