distributed-process-monad-control-0.5.0: Orphan instances for MonadBase and MonadBaseControl.

Safe HaskellNone
LanguageHaskell2010

Control.Distributed.Process.MonadBaseControl

Description

This module only exports instances for MonadBase IO and MonadBaseControl IO for the Process monad. This is for use in conjunction with a library requiring these instances, such as the lifted-base package.

example usage:

import Control.Distributed.Process.MonadBaseControl()
import Control.Concurrent.MVar.Lifted (withMVar)
processWithMVar :: MVar a -> (a -> Process b) -> Process b
processWithMvar = withMVar