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

Safe HaskellNone
LanguageHaskell2010

Data.Maybe.Unpacked.Numeric.Word16

Documentation

data Maybe Source #

Constructors

Maybe (#(##) | Word##) 
Instances
Eq Maybe Source # 
Instance details

Defined in Data.Maybe.Unpacked.Numeric.Word16

Methods

(==) :: Maybe -> Maybe -> Bool #

(/=) :: Maybe -> Maybe -> Bool #

Ord Maybe Source # 
Instance details

Defined in Data.Maybe.Unpacked.Numeric.Word16

Methods

compare :: Maybe -> Maybe -> Ordering #

(<) :: Maybe -> Maybe -> Bool #

(<=) :: Maybe -> Maybe -> Bool #

(>) :: Maybe -> Maybe -> Bool #

(>=) :: Maybe -> Maybe -> Bool #

max :: Maybe -> Maybe -> Maybe #

min :: Maybe -> Maybe -> Maybe #

Read Maybe Source # 
Instance details

Defined in Data.Maybe.Unpacked.Numeric.Word16

Show Maybe Source # 
Instance details

Defined in Data.Maybe.Unpacked.Numeric.Word16

Methods

showsPrec :: Int -> Maybe -> ShowS #

show :: Maybe -> String #

showList :: [Maybe] -> ShowS #

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

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