Commit 24cf4ebf authored by Nicolas Lenz's avatar Nicolas Lenz
Browse files

Merge branch 'master' into 'master'

add missing function call in recursion

See merge request education/fupro!1
parents f74eee94 a13b613a
......@@ -38,5 +38,5 @@ Recursion is main method of repetition (loops are not very functional)
```haskell
doubleAll :: [Int] -> [Int]
doubleAll [] = []
doubleAll (x:xs) = (x * 2) : xs
doubleAll (x:xs) = (x * 2) : doubleAll xs
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment