summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2023-03-04 01:19:17 -0800
committerKai Stevenson <kai@kaistevenson.com>2023-03-04 01:21:14 -0800
commit2127b746f0eecb657b31653ad5967623f994cbaf (patch)
tree9df6e054410102ed620aae7b497f0dce66b6efc3 /stdlib
parentf52050d53e698975d6598da86ddd99100ae70fdf (diff)
added any(), all(), one(). replaced not() with none()
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/math.pcdt2
1 files changed, 1 insertions, 1 deletions
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)