From 2127b746f0eecb657b31653ad5967623f994cbaf Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Sat, 4 Mar 2023 01:19:17 -0800 Subject: added any(), all(), one(). replaced not() with none() --- stdlib/math.pcdt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/math.pcdt') diff --git a/stdlib/math.pcdt b/stdlib/math.pcdt index 3f375ae..99dd937 100644 --- a/stdlib/math.pcdt +++ b/stdlib/math.pcdt @@ -1,7 +1,7 @@ store( ref(( store(0, "last") - if(not(eq(arg0, 1)) + if(none(eq(arg0, 1)) update(multiply(sub(arg0, 1), arg1), "last") ) sum(arg1, last) -- cgit v1.3.1