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

Data.Maybe.Unpacked.Numeric.Int64

data Maybe Source #

Constructors

Defined in Data.Maybe.Unpacked.Numeric.Int64

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 :: Int64 -> Maybe Source #

nothing :: Maybe Source #

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

isJust :: Maybe -> Bool Source #

isNothing :: Maybe -> Bool Source #

fromMaybe :: Int64 -> Maybe -> Int64 Source #

listToMaybe :: [Int64] -> Maybe Source #

maybeToList :: Maybe -> [Int64] Source #

catMaybes :: [Maybe] -> [Int64] Source #

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

toBaseMaybe :: Maybe -> Maybe Int64 Source #

fromBaseMaybe :: Maybe Int64 -> Maybe Source #