diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/example1.spl | 2 |
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)); } |