Tags

interaction trees

Abstractly, interaction trees are an appropriate adaptation of freer monads to settings that demand termination.

CoInductive itree (E : Type -> Type) (R : Type) : Type :=
| Ret (r : R)
| Tau (t : itree E R)
| Vis {A : Type} (e : E A) (k : E -> itree E R)
.

Author: Nicholas Coltharp (mail@heraplem.xyz)

Last modified: 2026-07-07 Tue 23:25

Emacs 30.2 (Org mode 9.7.11)

Validate