either binds ftw
[cc1516.git] / examples / example.spl
index 0bf275e..4a55e35 100644 (file)
@@ -2,6 +2,9 @@
        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) {