Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- (<?>) :: Maybe b -> a -> Either a b
- (<?&>) :: Either a (Maybe b) -> a -> Either a b
- (<??>) :: Monad m => Maybe b -> a -> ExceptT a m b
- (<??&>) :: Monad m => ExceptT a m (Maybe b) -> a -> ExceptT a m b
- (<?.>) :: Monad m => Maybe b -> String -> m b
- (<?&.>) :: Monad m => m (Maybe b) -> String -> m b
- assert :: Bool -> a -> Either a ()
- assertE :: Monad m => Bool -> a -> ExceptT a m ()
- assertM :: Monad m => Bool -> String -> m ()