summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorErin van der Veen2018-02-06 13:12:29 +0100
committerErin van der Veen2018-02-06 13:12:29 +0100
commit3d6742c9731c9601a7610c01b567729606eef5f0 (patch)
tree2497c5f8dd3c93110841f942ddec3b0c5cfa4351 /test
parentFix block comments; strip whitespace (diff)
Fix typo in example1.spl
Diffstat (limited to 'test')
-rw-r--r--test/example1.spl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example1.spl b/test/example1.spl
index d5ed535..80c6a46 100644
--- a/test/example1.spl
+++ b/test/example1.spl
@@ -39,7 +39,7 @@ main() :: -> Void {
// A list based factorial function
// Defined here to show that functions can be given in any order (unlike C)
-facL(n) :: Int - Int {
+facL(n) :: Int -> Int {
return product(fromTo(1,n));
}