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.
2 parents 293dbd1 + 5dd9cfa commit a9c1389Copy full SHA for a9c1389
theories/Structures/Monad.v
@@ -67,6 +67,9 @@ Module MonadNotation.
67
Notation "e1 ;; e2" := (_ <- e1%monad ;; e2%monad)%monad
68
(at level 100, right associativity) : monad_scope.
69
70
+ Notation "' pat <- c1 ;; c2" := (@pbind _ _ _ _ _ c1 (fun pat => c2))
71
+ (at level 100, pat pattern, c1 at next level, right associativity) : monad_scope.
72
+
73
End MonadNotation.
74
75
Polymorphic Instance Functor_Monad {m} {M:Monad m} : Functor m :=
0 commit comments