indexed-0.1: Haskell98 indexed functors, monads, comonads

Portabilityportable
Stabilityexperimental
MaintainerReiner Pope <reiner.pope@gmail.com
Safe HaskellSafe-Infered

Control.Comonad.Indexed

Description

 

Documentation

class IxFunctor f whereSource

Methods

imap :: (a -> b) -> f j k a -> f j k bSource

class IxFunctor w => IxCopointed w whereSource

Methods

iextract :: w i i a -> aSource

class IxCopointed w => IxComonad w whereSource

Methods

iextend :: (w j k a -> b) -> w i k a -> w i j bSource

iduplicate :: IxComonad w => w i k a -> w i j (w j k a)Source