unpacked-maybe-numeric-0.1.0.0: maybes of numeric values with fewer indirections
Data.Maybe.Unpacked.Numeric.Double
data Maybe Source #
Constructors
Defined in Data.Maybe.Unpacked.Numeric.Double
Methods
(==) :: Maybe -> Maybe -> Bool #
(/=) :: Maybe -> Maybe -> Bool #
compare :: Maybe -> Maybe -> Ordering #
(<) :: Maybe -> Maybe -> Bool #
(<=) :: Maybe -> Maybe -> Bool #
(>) :: Maybe -> Maybe -> Bool #
(>=) :: Maybe -> Maybe -> Bool #
max :: Maybe -> Maybe -> Maybe #
min :: Maybe -> Maybe -> Maybe #
readsPrec :: Int -> ReadS Maybe #
readList :: ReadS [Maybe] #
readPrec :: ReadPrec Maybe #
readListPrec :: ReadPrec [Maybe] #
showsPrec :: Int -> Maybe -> ShowS #
show :: Maybe -> String #
showList :: [Maybe] -> ShowS #
just :: Double -> Maybe Source #
nothing :: Maybe Source #
maybe :: a -> (Double -> a) -> Maybe -> a Source #
isJust :: Maybe -> Bool Source #
isNothing :: Maybe -> Bool Source #
fromMaybe :: Double -> Maybe -> Double Source #
listToMaybe :: [Double] -> Maybe Source #
maybeToList :: Maybe -> [Double] Source #
catMaybes :: [Maybe] -> [Double] Source #
mapMaybe :: (a -> Maybe) -> [a] -> [Double] Source #
toBaseMaybe :: Maybe -> Maybe Double Source #
fromBaseMaybe :: Maybe Double -> Maybe Source #