From 3854116f33d640b9eb36f65ed2cf78ca1606418a Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Tue, 4 Jul 2023 12:39:18 -0400 Subject: [PATCH] Fix `and`/`or` functions --- src/ludus/prelude.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ludus/prelude.clj b/src/ludus/prelude.clj index 673e3cf..d3835c4 100644 --- a/src/ludus/prelude.clj +++ b/src/ludus/prelude.clj @@ -15,11 +15,11 @@ (def and- {:name "and" ::data/type ::data/clj - :body (fn [&args] (every? id &args))}) + :body (fn [& args] (every? id args))}) (def or- {:name "or" ::data/type ::data/clj - :body (fn [&args] (some id &args))}) + :body (fn [& args] (some id args))}) (def add {:name "add" ::data/type ::data/clj