Skip to content

Commit 00e675e

Browse files
committed
Updates for 0.12
1 parent 6b549b3 commit 00e675e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

bower.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"package.json"
2222
],
2323
"dependencies": {
24-
"purescript-monoid": "^3.0.0",
25-
"purescript-foldable-traversable": "^3.7.1"
24+
"purescript-foldable-traversable": "#compiler/0.12"
2625
}
2726
}

src/Data/Lazy.purs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ import Prelude
55
import Control.Comonad (class Comonad)
66
import Control.Extend (class Extend)
77
import Control.Lazy as CL
8+
import Data.Eq (class Eq1)
89
import Data.Foldable (class Foldable, foldMap, foldl, foldr)
910
import Data.FoldableWithIndex (class FoldableWithIndex)
1011
import Data.Functor.Invariant (class Invariant, imapF)
1112
import Data.FunctorWithIndex (class FunctorWithIndex)
1213
import Data.HeytingAlgebra (implies, ff, tt)
13-
import Data.Monoid (class Monoid, mempty)
14+
import Data.Ord (class Ord1)
1415
import Data.Semigroup.Foldable (class Foldable1, fold1Default)
1516
import Data.Semigroup.Traversable (class Traversable1)
1617
import Data.Traversable (class Traversable, traverse)
@@ -55,9 +56,13 @@ instance fieldLazy :: Field a => Field (Lazy a)
5556
instance eqLazy :: Eq a => Eq (Lazy a) where
5657
eq x y = (force x) == (force y)
5758

59+
derive instance eq1Lazy :: Eq1 Lazy
60+
5861
instance ordLazy :: Ord a => Ord (Lazy a) where
5962
compare x y = compare (force x) (force y)
6063

64+
derive instance ord1Lazy :: Ord1 Lazy
65+
6166
instance boundedLazy :: Bounded a => Bounded (Lazy a) where
6267
top = defer \_ -> top
6368
bottom = defer \_ -> bottom

0 commit comments

Comments
 (0)