X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=examples%2Fexample.spl;h=0bf275e8856ba18c11c0295150a2762ac8d66523;hb=ef60df23f759937906b8a36bce4485681c35e903;hp=4a55e3550275b4c72300329dddeb2db0b0122b61;hpb=6c23d03e21a84452701b742cb3582f02c1efc28c;p=cc1516.git diff --git a/examples/example.spl b/examples/example.spl index 4a55e35..0bf275e 100644 --- a/examples/example.spl +++ b/examples/example.spl @@ -2,9 +2,6 @@ Three ways to implement the f acto rial function in SPL. First the recursive version . */ -var r = 1; -var facN = 1; -var ok = True; facR(n) :: Int -> Int { if (n < 2) {