Rename the function sum to any
This commit is contained in:
parent
8851629fc7
commit
642f5a4da3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user