Skip to content

Commit 62900a5

Browse files
authored
Merge pull request #158 from purescript/fix-warnings
Fix warnings
2 parents 9adcd3c + 6ffd6b4 commit 62900a5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Data/List/Lazy/Types.purs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ instance extendList :: Extend List where
195195
Nil -> nil
196196
Cons a as ->
197197
f l : (foldr go { val: nil, acc: nil } as).val
198-
where
199-
go a { val, acc } =
200-
let acc' = a : acc
201-
in { val: f acc' : val, acc: acc' }
198+
where
199+
go a { val, acc } =
200+
let acc' = a : acc
201+
in { val: f acc' : val, acc: acc' }
202202

203203
newtype NonEmptyList a = NonEmptyList (Lazy (NonEmpty List a))
204204

test/Test/Data/List/NonEmpty.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Data.Monoid.Additive (Additive(..))
1111
import Data.NonEmpty ((:|))
1212
import Data.TraversableWithIndex (traverseWithIndex)
1313
import Data.Tuple (Tuple(..))
14-
import Data.Unfoldable (replicate, replicate1, unfoldr, unfoldr1)
14+
import Data.Unfoldable (replicate1, unfoldr1)
1515
import Effect (Effect)
1616
import Effect.Console (log)
1717
import Test.Assert (assert)

0 commit comments

Comments
 (0)