Commit a13b613a authored by Timuçin Boldt's avatar Timuçin Boldt
Browse files

add missing function call in recursion

parent f74eee94
......@@ -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