From a60490fad9a4eabbdb86c0837fd0d16bf0c97cb1 Mon Sep 17 00:00:00 2001 From: Joel Kaasinen Date: Fri, 8 May 2020 10:48:34 +0300 Subject: [PATCH] Set 2 Ex 4: fix mistake in example --- exercises/Set2.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/Set2.hs b/exercises/Set2.hs index 2fc3671..64d15e2 100644 --- a/exercises/Set2.hs +++ b/exercises/Set2.hs @@ -58,7 +58,7 @@ updateAt i x xs = todo -- Examples: -- substring 2 5 "abcdefgh" ==> "cde" -- substring 2 2 "abcdefgh" ==> "" --- substring 0 3 "abcdefgh" ==> "abcd" +-- substring 0 4 "abcdefgh" ==> "abcd" substring :: Int -> Int -> String -> String substring i j s = todo