module Meta.Bind where
Primitive:
do
syntaxπ
record Bind (M : Effect) : TypeΟ where private module M = Effect M field _>>=_ : β {β β'} {A : Type β} {B : Type β'} β M.β A β (A β M.β B) β M.β B β¦ Idiom-bind β¦ : Idiom M _>>_ : β {β β'} {A : Type β} {B : Type β'} β M.β A β M.β B β M.β B _>>_ f g = f >>= Ξ» _ β g infixl 1 _>>=_ _=<<_ : β {β β'} {A : Type β} {B : Type β'} β (A β M.β B) β M.β A β M.β B _=<<_ f x = x >>= f infixr 1 _=<<_ open Bind β¦ ... β¦ public