Data.Functor.Foldable

Base functors for fixed points

type family Base t :: * -> *

data ListF a b

Fixed points

data Fix f

unfix

data Mu f

data Nu f

Folding

class Recursive t

Combinators

gapo

gcata

zygo

gzygo

histo

ghisto

futu

chrono

gchrono

Distributive laws

distCata

distPara

distParaT

distZygo

distZygoT

distHisto

distGHisto

distFutu

distGFutu

Unfolding

class Corecursive t

Combinators

gana

Distributive laws

distAna

distApo

distGApo

distGApoT

Refolding

hylo

ghylo

Changing representation

refix

Common names

fold

gfold

unfold

gunfold

refold

grefold

Mendler-style

mcata

mhisto

Elgot (co)algebras

elgot

coelgot

Zygohistomorphic prepromorphisms

zygoHistoPrepro