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 548c861 commit 3ce4007Copy full SHA for 3ce4007
theories/Structures/Monad.v
@@ -67,7 +67,8 @@ 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))
+ Notation "' pat <- c1 ;; c2" :=
71
+ (@pbind _ _ _ _ _ c1 (fun x => match x with pat => c2 end))
72
(at level 100, pat pattern, c1 at next level, right associativity) : monad_scope.
73
74
End MonadNotation.
0 commit comments