Skip to content
Snippets Groups Projects
Commit a13b613a authored by Timuçin Boldt's avatar Timuçin Boldt
Browse files

add missing function call in recursion

parent f74eee94
No related branches found
No related tags found
No related merge requests found
......@@ -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
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment