From 642f5a4da32090f2e1dd277b9d9b84482b3b8942 Mon Sep 17 00:00:00 2001 From: Gaith Hallak Date: Thu, 2 Jun 2022 13:36:38 +0400 Subject: [PATCH] Rename the function sum to any --- test/contracts/operator_lambdas.aes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/contracts/operator_lambdas.aes b/test/contracts/operator_lambdas.aes index ade8f20..9f5b41e 100644 --- a/test/contracts/operator_lambdas.aes +++ b/test/contracts/operator_lambdas.aes @@ -3,7 +3,7 @@ include "List.aes" contract C = type state = int - function sum(l : list(bool)) : bool = List.foldl((||), false, l) + function any(l : list(bool)) : bool = List.foldl((||), false, l) entrypoint init() = let bad_application = (+)(1)