Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class Monad m => MonadThunk v t m | v -> m, v -> t, t -> m, t -> v where Source #
buildThunk :: MonadVar m => m v -> m (Thunk m v) Source #
forceThunk :: (MonadVar m, MonadThrow m) => Thunk m v -> (v -> m a) -> m a Source #
forceEffects :: MonadVar m => Thunk m v -> (v -> m a) -> m a Source #