Commits

Joe Jevnik committed 2d1c1c9

Adds a test file for the r6rs comments.

Comments (0)

Files changed (1)

tests/examplefiles/r6rs-comments.scm

+#!r6rs
+
+#|
+
+   The FACT procedure computes the factorial
+
+   of a non-negative integer.
+
+|#
+
+(define fact
+
+  (lambda (n)
+
+    ;; base case
+
+    (if (= n 0)
+
+        #;(= n 1)
+
+        1       ; identity of *
+
+        (* n (fact (- n 1))))))