@@ -3,19 +3,17 @@ module Data.Maybe where
33import Control.Alt (class Alt )
44import Control.Alternative (class Alternative )
55import Control.Applicative (class Applicative )
6- import Control.Apply (class Apply , (<*>) )
6+ import Control.Apply (class Apply )
77import Control.Bind (class Bind )
88import Control.Extend (class Extend )
99import Control.Monad (class Monad )
1010import Control.MonadZero (class MonadZero )
1111import Control.Plus (class Plus )
1212
13- import Data.BooleanAlgebra (class BooleanAlgebra , conj , disj , not )
1413import Data.Bounded (class Bounded , top )
15- import Data.BoundedOrd (class BoundedOrd )
1614import Data.Eq (class Eq , (==))
1715import Data.Function (const , id )
18- import Data.Functor (class Functor , map , (<$>))
16+ import Data.Functor (class Functor , (<$>))
1917import Data.Functor.Invariant (class Invariant , imapF )
2018import Data.Monoid (class Monoid )
2119import Data.Ord (class Ord , compare )
@@ -215,13 +213,6 @@ instance boundedMaybe :: Bounded a => Bounded (Maybe a) where
215213 top = Just top
216214 bottom = Nothing
217215
218- instance boundedOrdMaybe :: BoundedOrd a => BoundedOrd (Maybe a )
219-
220- instance booleanAlgebraMaybe :: BooleanAlgebra a => BooleanAlgebra (Maybe a ) where
221- conj x y = conj <$> x <*> y
222- disj x y = disj <$> x <*> y
223- not = map not
224-
225216-- | The `Show` instance allows `Maybe` values to be rendered as a string with
226217-- | `show` whenever there is an `Show` instance for the type the `Maybe`
227218-- | contains.
0 commit comments