unpacked-maybe-numeric-0.1.0.0: maybes of numeric values with fewer indirections

Safe HaskellNone
LanguageHaskell2010

Data.Maybe.Unpacked.Numeric.Double

Documentation

data Maybe Source #

Constructors

Maybe (#(##) | Double##) 
Instances
Eq Maybe Source # 
Instance details

Defined in Data.Maybe.Unpacked.Numeric.Double

Methods

(==) :: Maybe -> Maybe -> Bool #

(/=) :: Maybe -> Maybe -> Bool #

Ord Maybe Source # 
Instance details

Defined in Data.Maybe.Unpacked.Numeric.Double

Methods

compare :: Maybe -> Maybe -> Ordering #

(<) :: Maybe -> Maybe -> Bool #

(<=) :: Maybe -> Maybe -> Bool #

(>) :: Maybe -> Maybe -> Bool #

(>=) :: Maybe -> Maybe -> Bool #

max :: Maybe -> Maybe -> Maybe #

min :: Maybe -> Maybe -> Maybe #

Read Maybe Source # 
Instance details

Defined in Data.Maybe.Unpacked.Numeric.Double

Show Maybe Source # 
Instance details

Defined in Data.Maybe.Unpacked.Numeric.Double

Methods

showsPrec :: Int -> Maybe -> ShowS #

show :: Maybe -> String #

showList :: [Maybe] -> ShowS #

maybe :: a -> (Double -> a) -> Maybe -> a Source #

mapMaybe :: (a -> Maybe) -> [a] -> [Double] Source #