From ac2781e5e68c8aa10ec291f6527088e3f71b0028 Mon Sep 17 00:00:00 2001 From: SevroAuBarca Date: Wed, 12 Oct 2022 22:00:42 -0500 Subject: [PATCH] Chapter 2 complete --- src/Chapter1.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Chapter1.hs b/src/Chapter1.hs index 41917de5..94a88abc 100644 --- a/src/Chapter1.hs +++ b/src/Chapter1.hs @@ -676,7 +676,7 @@ Implement a function that returns the first digit of a given number. You need to use recursion in this task. Feel free to return to it later, if you aren't ready for this boss yet! -} - +firstDigit :: Int -> Int firstDigit n = error "firstDigit: Not implemented!" {- You did it! Now it is time to open a pull request with your changes