File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ instance numLazy :: (Num a) => Num (Lazy a)
29
29
instance eqLazy :: (Eq a) => Eq (Lazy a)
30
30
instance ordLazy :: (Ord a) => Ord (Lazy a)
31
31
instance boundedLazy :: (Bounded a) => Bounded (Lazy a)
32
+ instance boundedOrdLazy :: (BoundedOrd a) => BoundedOrd (Lazy a)
32
33
instance semigroupLazy :: (Semigroup a) => Semigroup (Lazy a)
33
34
instance monoidLazy :: (Monoid a) => Monoid (Lazy a)
34
35
instance booleanAlgebraLazy :: (BooleanAlgebra a) => BooleanAlgebra (Lazy a)
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ instance boundedLazy :: (Bounded a) => Bounded (Lazy a) where
54
54
top = defer \_ -> top
55
55
bottom = defer \_ -> bottom
56
56
57
+ instance boundedOrdLazy :: (BoundedOrd a ) => BoundedOrd (Lazy a )
58
+
57
59
instance semigroupLazy :: (Semigroup a ) => Semigroup (Lazy a ) where
58
60
append a b = defer \_ -> force a <> force b
59
61
@@ -64,7 +66,7 @@ instance booleanAlgebraLazy :: (BooleanAlgebra a) => BooleanAlgebra (Lazy a) whe
64
66
conj a b = conj <$> a <*> b
65
67
disj a b = disj <$> a <*> b
66
68
not a = not <$> a
67
-
69
+
68
70
instance functorLazy :: Functor Lazy where
69
71
map f l = defer \_ -> f (force l)
70
72
You can’t perform that action at this time.
0 commit comments