summaryrefslogtreecommitdiff
path: root/examples/boundedrecursion.pcdt
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 /examples/boundedrecursion.pcdt
parentf52050d53e698975d6598da86ddd99100ae70fdf (diff)
added any(), all(), one(). replaced not() with none()
Diffstat (limited to 'examples/boundedrecursion.pcdt')
-rw-r--r--examples/boundedrecursion.pcdt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/boundedrecursion.pcdt b/examples/boundedrecursion.pcdt
index 12981da..bbe4194 100644
--- a/examples/boundedrecursion.pcdt
+++ b/examples/boundedrecursion.pcdt
@@ -2,7 +2,7 @@ store(1000, "maxSize");
store(
ref((
print(arg0);
- if(not(eq(arg0, maxSize))
+ if(none(eq(arg0, maxSize))
incFunc(sum(1, arg0));
)
));