impure-containers-0.5.1: Mutable containers in Haskell.

Safe HaskellNone
LanguageHaskell2010

Data.Maybe.Unsafe

Documentation

data UnsafeMaybe a Source #

Instances
Monad UnsafeMaybe Source # 
Instance details

Defined in Data.Maybe.Unsafe

Functor UnsafeMaybe Source # 
Instance details

Defined in Data.Maybe.Unsafe

Methods

fmap :: (a -> b) -> UnsafeMaybe a -> UnsafeMaybe b #

(<$) :: a -> UnsafeMaybe b -> UnsafeMaybe a #

Applicative UnsafeMaybe Source # 
Instance details

Defined in Data.Maybe.Unsafe

Methods

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 #

maybe :: b -> (a -> b) -> UnsafeMaybe a -> b Source #