Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
runWithBuffer :: forall a m b. MonadBaseControl IO m => Int -> (Output a -> m ()) -> ContT b m (ListT m a) Source #
liftedBracket :: MonadBaseControl IO m => m a -> (a -> m b) -> (a -> m c) -> m c Source #
withBufferLifted :: MonadBaseControl IO m => Buffer a -> (Output a -> m l) -> (Input a -> m r) -> m (l, r) Source #
liftedFinally :: MonadBaseControl IO m => m a -> m b -> m a Source #
atomically :: MonadIO m => STM a -> m a Source #