From c698c847c742bbdeb99d707f7f1e4338f17b041b Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 22 Aug 2023 13:25:28 -0400 Subject: [PATCH] Implement if_else --- src/macros/logic.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/macros/logic.rs b/src/macros/logic.rs index 55abbec..2c1e7a7 100644 --- a/src/macros/logic.rs +++ b/src/macros/logic.rs @@ -102,10 +102,12 @@ impl Macro for IfElse { ValueType::List(vec![ ValueType::Boolean, ValueType::Any, + ValueType::Any, ]), ValueType::List(vec![ ValueType::Function, ValueType::Any, + ValueType::Any, ])], } }