Skip to content

Commit 91f5f05

Browse files
committed
fixup! Idiomatic Show instance for lazy lists
1 parent bc8f6ba commit 91f5f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/List/Lazy/Types.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ instance showList :: Show a => Show (List a) where
6767
<> case step xs of
6868
Nil -> ""
6969
Cons x xs' ->
70-
show x <> foldl (\shown x -> shown <> "," <> show x) "" xs'
70+
show x <> foldl (\shown x' -> shown <> "," <> show x') "" xs'
7171
<> "])"
7272

7373
instance eqList :: Eq a => Eq (List a) where

0 commit comments

Comments
 (0)