Rename the function sum to any

This commit is contained in:
Gaith Hallak 2022-06-02 13:36:38 +04:00
parent 8851629fc7
commit 642f5a4da3

View File

@ -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)