Skip to content

Commit 3dd5bc5

Browse files
committed
Merge pull request #11 from telser/purescript-0.8-warnings
Fix warnings generated by purescript-0.8.0
2 parents fe5a817 + 856eef8 commit 3dd5bc5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
"package.json"
2525
],
2626
"dependencies": {
27-
"purescript-monoid": "^0.3.0"
27+
"purescript-monoid": "^1.0.0-rc.1"
2828
}
2929
}

src/Data/Lazy.purs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
module Data.Lazy where
44

5-
import Prelude
5+
import Prelude (class Show, class Monad, class Bind, class Applicative, class Apply, class Functor, class BooleanAlgebra, class Semigroup, class BoundedOrd, class Bounded, class Ord, class Eq, class Num, class DivisionRing, class ModuloSemiring, class Ring, class Semiring, Unit, unit, show, append, ($), (<<<), not, (<$>), (<*>), disj, conj, (<>), bottom, top, compare, (==), mod, (/), (-), one, (*), zero, (+))
66

7-
import Control.Comonad (Comonad)
8-
import Control.Extend (Extend)
9-
import Data.Monoid (Monoid, mempty)
10-
import qualified Control.Lazy as CL
7+
import Control.Comonad (class Comonad)
8+
import Control.Extend (class Extend)
9+
import Data.Monoid (class Monoid, mempty)
10+
import Control.Lazy as CL
1111

1212
-- | `Lazy a` represents lazily-computed values of type `a`.
1313
-- |
@@ -88,7 +88,7 @@ instance comonadLazy :: Comonad Lazy where
8888
extract = force
8989

9090
instance showLazy :: (Show a) => Show (Lazy a) where
91-
show x = "Lazy " ++ show (force x)
91+
show x = "Lazy " `append` show (force x)
9292

9393
instance lazyLazy :: CL.Lazy (Lazy a) where
9494
defer f = defer \_ -> force (f unit)

0 commit comments

Comments
 (0)