unpacked-maybe-numeric-0.1.0.0: maybes of numeric values with fewer indirections
Data.Maybe.Unpacked.Numeric.Word16
data Maybe Source #
Constructors
Defined in Data.Maybe.Unpacked.Numeric.Word16
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 :: Word16 -> Maybe Source #
nothing :: Maybe Source #
maybe :: a -> (Word16 -> a) -> Maybe -> a Source #
isJust :: Maybe -> Bool Source #
isNothing :: Maybe -> Bool Source #
fromMaybe :: Word16 -> Maybe -> Word16 Source #
listToMaybe :: [Word16] -> Maybe Source #
maybeToList :: Maybe -> [Word16] Source #
catMaybes :: [Maybe] -> [Word16] Source #
mapMaybe :: (a -> Maybe) -> [a] -> [Word16] Source #
toBaseMaybe :: Maybe -> Maybe Word16 Source #
fromBaseMaybe :: Maybe Word16 -> Maybe Source #