Control.Monad.Operational.Higher

Program monad

data ProgramT instr fs m a

type Program instr fs

singleton

singleInj

Interpretation

liftProgram

interpretWithMonadT

interpretWithMonad

class Interp instr m fs

interpretT

interpret

data ProgramViewT instr fs m a

type ProgramView instr fs

type ProgViewT instr m

type ProgView instr

viewT

view

unview

Bi-functorial instructions

interpretWithMonadBiT

interpretWithMonadBi

class InterpBi instr m fs

interpretBiT

interpretBi

class Reexpressible i instr

reexpress

reexpressEnv