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

Data.Maybe.Unpacked.Numeric.Int8

data Maybe Source #

Constructors

Defined in Data.Maybe.Unpacked.Numeric.Int8

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

nothing :: Maybe Source #

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

isJust :: Maybe -> Bool Source #

isNothing :: Maybe -> Bool Source #

fromMaybe :: Int8 -> Maybe -> Int8 Source #

listToMaybe :: [Int8] -> Maybe Source #

maybeToList :: Maybe -> [Int8] Source #

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

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

toBaseMaybe :: Maybe -> Maybe Int8 Source #

fromBaseMaybe :: Maybe Int8 -> Maybe Source #