indexed-free-0.2.1: indexed monads for free

Portabilitynon-portable
Stabilityprovisional
MaintainerFumiaki Kinsohita <fumiexcel@gmail.com>
Safe HaskellNone

Control.Monad.Indexed.Free

Description

 

Documentation

data IxFree f i j x whereSource

Constructors

Pure :: a -> IxFree f i i a 
Free :: f i j (IxFree f j k a) -> IxFree f i k a 

hoistIxFree :: (IxFunctor g, IxMonadFree g m) => (forall i j x. f i j x -> g i j x) -> IxFree f i j a -> m i j aSource