monadfibre-0.1.2: Monadic functions which provide Choice and Parallelism.

Portabilitynon-portable (uses ghc extensions)
Stabilityexperimental
Maintainerajnsit@gmail.com

Control.Monad.Fibre

Description

This package defines Monadic functions which provide Choice and Parallelism - (<||&rt;) and (<&&&rt;) - that work on Monads that provide a (MonadBi m IO) instance.

Depends on the monadbi library for extracting the IO actions from m. Also provides a good example of how to use the library.

Documentation

(<||>) :: (Monad m, MonadBi m IO) => m o -> m o -> m oSource

(<&&>) :: (Monad m, MonadBi m IO) => m o1 -> m o2 -> m (o1, o2)Source