Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data UnsafeMaybe a Source #
Instances
Monad UnsafeMaybe Source # | |
Defined in Data.Maybe.Unsafe (>>=) :: UnsafeMaybe a -> (a -> UnsafeMaybe b) -> UnsafeMaybe b # (>>) :: UnsafeMaybe a -> UnsafeMaybe b -> UnsafeMaybe b # return :: a -> UnsafeMaybe a # fail :: String -> UnsafeMaybe a # | |
Functor UnsafeMaybe Source # | |
Defined in Data.Maybe.Unsafe fmap :: (a -> b) -> UnsafeMaybe a -> UnsafeMaybe b # (<$) :: a -> UnsafeMaybe b -> UnsafeMaybe a # | |
Applicative UnsafeMaybe Source # | |
Defined in Data.Maybe.Unsafe pure :: a -> UnsafeMaybe a # (<*>) :: UnsafeMaybe (a -> b) -> UnsafeMaybe a -> UnsafeMaybe b # liftA2 :: (a -> b -> c) -> UnsafeMaybe a -> UnsafeMaybe b -> UnsafeMaybe c # (*>) :: UnsafeMaybe a -> UnsafeMaybe b -> UnsafeMaybe b # (<*) :: UnsafeMaybe a -> UnsafeMaybe b -> UnsafeMaybe a # |
just :: a -> UnsafeMaybe a Source #
nothing :: UnsafeMaybe a Source #
fromMaybe :: Maybe a -> UnsafeMaybe a Source #
maybe :: b -> (a -> b) -> UnsafeMaybe a -> b Source #
toMaybe :: UnsafeMaybe a -> Maybe a Source #