Idris2Doc : Data.Container.Base.Fix.Definition

Data.Container.Base.Fix.Definition

(source)

Definitions

dataKleeneShp : Cont->Type
  Kleene star, aka. the free monad monad on containers
Is the least fixpoint in the category of containers of
Kleene c = Scalar >+< (c >@ Kleene c)
Since Idris doesn't support codata, we can also use this for greatest fixpoint
by using corecursive shapes and marking them as partial

Totality: total
Visibility: public export
Constructors:
Done : KleeneShpc
More : Extc (KleeneShpc) ->KleeneShpc
dataKleenePos : KleeneShpc->Type
Totality: total
Visibility: public export
Constructors:
DonePos : KleenePosDone
MorePos : (cp : c.Poscs) ->KleenePos (fcp) ->KleenePos (More (cs<|f))
Kleene : Cont->Cont
Totality: total
Visibility: public export
KleeneShp : c=%>d->KleeneShpc->KleeneShpd
Totality: total
Visibility: public export
KleenePos : (f : c=%>d) -> (ks : KleeneShpc) ->KleenePos (KleeneShpfks) ->KleenePosks
Totality: total
Visibility: public export
Kleene : c=%>d->Kleenec=%>Kleened
  Action on morphisms

Totality: total
Visibility: public export