From a13b613aff85d44cfc457f1f66b5b8d3a2e0b6a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timu=C3=A7in=20Boldt?= <timucin.b@gmx.de> Date: Fri, 22 Jan 2021 15:28:03 +0000 Subject: [PATCH] add missing function call in recursion --- src/05-first-logic.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/05-first-logic.md b/src/05-first-logic.md index 338f51d..280eeb7 100644 --- a/src/05-first-logic.md +++ b/src/05-first-logic.md @@ -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 ``` -- GitLab