diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2023-02-19 13:47:32 -0800 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2023-02-19 13:47:32 -0800 |
| commit | 9c66e2330ef43196792d3858242e3e84f3de781d (patch) | |
| tree | 0b36bd4f165b13135d80511b66e4e9bf90e20feb | |
| parent | 51659aa7b33baa490a614255996f3e372e86a67c (diff) | |
cleaned up examples
| -rw-r--r-- | examples/boundedrecursion.pcdt | 4 | ||||
| -rw-r--r-- | examples/evalref.pcdt | 1 | ||||
| -rw-r--r-- | examples/functest.pcdt | 4 | ||||
| -rw-r--r-- | examples/includetest.pcdt | 2 | ||||
| -rw-r--r-- | examples/scopetest.pcdt | 2 |
5 files changed, 4 insertions, 9 deletions
diff --git a/examples/boundedrecursion.pcdt b/examples/boundedrecursion.pcdt index 980ac36..3187960 100644 --- a/examples/boundedrecursion.pcdt +++ b/examples/boundedrecursion.pcdt @@ -1,9 +1,9 @@ store(1000; maxSize;) store( - ( + ref(( print(arg0()) if(not(eq(arg0() maxSize())) incFunc(sum(1; arg0()))) - ) + )) incFunc; ) incFunc(0;) diff --git a/examples/evalref.pcdt b/examples/evalref.pcdt deleted file mode 100644 index ded78ba..0000000 --- a/examples/evalref.pcdt +++ /dev/null @@ -1 +0,0 @@ -print(eval(ref(sum(1; 2;)))) diff --git a/examples/functest.pcdt b/examples/functest.pcdt index a76883a..ffa4531 100644 --- a/examples/functest.pcdt +++ b/examples/functest.pcdt @@ -1,8 +1,8 @@ store( - ( + ref(( print(running function;) eq(arg0() arg1()) - ) + )) myFunc; ) print(equality?;) diff --git a/examples/includetest.pcdt b/examples/includetest.pcdt deleted file mode 100644 index a9a964b..0000000 --- a/examples/includetest.pcdt +++ /dev/null @@ -1,2 +0,0 @@ -@helloworld2.pcdt -HelloWorldFunc() diff --git a/examples/scopetest.pcdt b/examples/scopetest.pcdt deleted file mode 100644 index 78418e2..0000000 --- a/examples/scopetest.pcdt +++ /dev/null @@ -1,2 +0,0 @@ -store(ref(ref(print(hello;))) myFunc;) -eval(myFunc()) |
