Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Maybe = Maybe (# (# #) | Word# #)
- just :: Word32 -> Maybe
- nothing :: Maybe
- maybe :: a -> (Word32 -> a) -> Maybe -> a
- isJust :: Maybe -> Bool
- isNothing :: Maybe -> Bool
- fromMaybe :: Word32 -> Maybe -> Word32
- listToMaybe :: [Word32] -> Maybe
- maybeToList :: Maybe -> [Word32]
- catMaybes :: [Maybe] -> [Word32]
- mapMaybe :: (a -> Maybe) -> [a] -> [Word32]
- toBaseMaybe :: Maybe -> Maybe Word32
- fromBaseMaybe :: Maybe Word32 -> Maybe
- pattern Nothing :: Maybe
- pattern Just :: Word32 -> Maybe