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