Skip to content
Snippets Groups Projects
Commit 24cf4ebf authored by Nicolas Lenz's avatar Nicolas Lenz :snowflake:
Browse files

Merge branch 'master' into 'master'

add missing function call in recursion

See merge request education/fupro!1
parents f74eee94 a13b613a
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) ...@@ -38,5 +38,5 @@ Recursion is main method of repetition (loops are not very functional)
```haskell ```haskell
doubleAll :: [Int] -> [Int] doubleAll :: [Int] -> [Int]
doubleAll [] = [] 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