diff options
| -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()) |
