From e4dd661631e109e8f0eab3ab0ce117464acde7a0 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Fri, 13 Nov 2020 23:04:25 +0300 Subject: fix(core): revert fn* to defn change --- tests/core.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/core.fnl') diff --git a/tests/core.fnl b/tests/core.fnl index ae7b3b4..f7dccd7 100644 --- a/tests/core.fnl +++ b/tests/core.fnl @@ -208,7 +208,7 @@ (assert-eq (table.concat (mapv string.upper "vaiv")) "VAIV")) (testing "reduce" - (defn add + (fn* add ([] 0) ([a] a) ([a b] (+ a b)) @@ -340,7 +340,7 @@ (assert* ((complement #(= $1 $2)) 1 2))) (testing "apply" - (defn add + (fn* add ([x] x) ([x y] (+ x y)) ([x y & zs] -- cgit v1.2.3