From 3900cb83fb10b0209fb5fb1d713bf3aaf3ee42b8 Mon Sep 17 00:00:00 2001 From: Julien Debon Date: Mon, 27 Jan 2020 16:18:55 -0500 Subject: [PATCH] Apply suggestion to libraries/base/GHC/List.hs --- libraries/base/GHC/List.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/base/GHC/List.hs b/libraries/base/GHC/List.hs index f55e2d7abb..10ba7d802d 100644 --- a/libraries/base/GHC/List.hs +++ b/libraries/base/GHC/List.hs @@ -243,7 +243,7 @@ filterFB c p x r | p x = x `c` r -- 42 -- >>> foldl (-) 100 [1..4] -- 90 --- >>> foldl (\reverseString nextChar -> nextChar : reverseString) "foo" ['a', 'b', 'c', 'd'] +-- >>> foldl (\reversedString nextChar -> nextChar : reversedString) "foo" ['a', 'b', 'c', 'd'] -- "dcbafoo" foldl :: forall a b. (b -> a -> b) -> b -> [a] -> b {-# INLINE foldl #-} -- GitLab