X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=src%2Fexample.spl;h=2a1f3ab37a691deab1f2142c60fca56ffd716e4d;hb=ca00099482644c76d6d918f536f69db32ac85058;hp=b3f6b95d6897264db71a6d75c871db67c9a1b448;hpb=3944a17b55128c2b75bf1948bbf0561a4b6ca783;p=cc1516.git diff --git a/src/example.spl b/src/example.spl index b3f6b95..2a1f3ab 100644 --- a/src/example.spl +++ b/src/example.spl @@ -3,7 +3,7 @@ First the recursive version . */ facR(n) :: Int -> Int { - if (n }< 2) { + if (n < 2) { return 1; } else { return n * facR(n-1); @@ -93,3 +93,4 @@ squareOddNumbers(list) :: [Int] -> [Int] { } return list; } +//deze comment eindigt met EOF ipv newline \ No newline at end of file