From eca357c4847d47f4bd532c5dc1dc504f521f3163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B9=A4=E7=BF=94=E4=B8=87=E9=87=8C?= Date: Sun, 19 Sep 2021 20:22:19 +0800 Subject: [PATCH] fix typo in Monad3 --- exercises/monads/Monads3.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/monads/Monads3.hs b/exercises/monads/Monads3.hs index c285206..c6a81ce 100644 --- a/exercises/monads/Monads3.hs +++ b/exercises/monads/Monads3.hs @@ -75,7 +75,7 @@ add2AndShow = do -- Same as add2AndShow, but return a concatenated string with both the -- result on the original int as well as twice it's value! --- runReader add2AndShowDouble 3 -> "(5,8)" +-- runReader add2AndShowDouble 3 -> "5,8" add2AndShowDouble :: Reader Int String add2AndShowDouble = ???