Skip to content

Commit

Permalink
Merge pull request #158 from purescript/fix-warnings
Browse files Browse the repository at this point in the history
Fix warnings
  • Loading branch information
garyb committed May 6, 2019
2 parents 9adcd3c + 6ffd6b4 commit 62900a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/Data/List/Lazy/Types.purs
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,10 @@ instance extendList :: Extend List where
Nil -> nil
Cons a as ->
f l : (foldr go { val: nil, acc: nil } as).val
where
go a { val, acc } =
let acc' = a : acc
in { val: f acc' : val, acc: acc' }
where
go a { val, acc } =
let acc' = a : acc
in { val: f acc' : val, acc: acc' }

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

Expand Down
2 changes: 1 addition & 1 deletion test/Test/Data/List/NonEmpty.purs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Data.Monoid.Additive (Additive(..))
import Data.NonEmpty ((:|))
import Data.TraversableWithIndex (traverseWithIndex)
import Data.Tuple (Tuple(..))
import Data.Unfoldable (replicate, replicate1, unfoldr, unfoldr1)
import Data.Unfoldable (replicate1, unfoldr1)
import Effect (Effect)
import Effect.Console (log)
import Test.Assert (assert)
Expand Down

0 comments on commit 62900a5

Please sign in to comment.