We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
>=>
1 parent a9c1389 commit c986741Copy full SHA for c986741
theories/Structures/Monad.v
@@ -61,6 +61,9 @@ Module MonadNotation.
61
Notation "c >>= f" := (@pbind _ _ _ _ _ c f) (at level 50, left associativity) : monad_scope.
62
Notation "f =<< c" := (@pbind _ _ _ _ _ c f) (at level 51, right associativity) : monad_scope.
63
64
+ (* Left-to-right composition of Kleisli arrows. *)
65
+ Notation "f >=> g" := (fun x => @pbind _ _ _ _ _ (f x) g) (at level 50, left associativity) : monad_scope.
66
+
67
Notation "x <- c1 ;; c2" := (@pbind _ _ _ _ _ c1 (fun x => c2))
68
(at level 100, c1 at next level, right associativity) : monad_scope.
69
0 commit comments