category-extras-0.44.1: Various modules and constructs inspired by category theory.

Portabilitynon-portable (functional-dependencies)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>

Control.Monad.Hyper

Description

Based on the construction of hyperfunctions as parameterized monads in http://crab.rutgers.edu/~pjohann/f14-ghani.pdf

Synopsis

Documentation

newtype HyperB h a b Source

Constructors

HyperB 

Fields

runHyperB :: h b -> a
 

type Hyper h a = FixB (HyperB h)Source

A generic recursive hyperfunction-like combinator

type Hyp e a = Hyper (ContraF e) aSource

Traditional Hyper functions