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 e7a00b3 + 3ce4007 commit 14e7d88Copy full SHA for 14e7d88
theories/Structures/Monad.v
@@ -77,7 +77,8 @@ Module MonadNotation.
77
Notation "e1 ;; e2" := (_ <- e1%monad ;; e2%monad)%monad
78
(at level 100, right associativity) : monad_scope.
79
80
- Notation "' pat <- c1 ;; c2" := (@pbind _ _ _ _ _ c1 (fun pat => c2))
+ Notation "' pat <- c1 ;; c2" :=
81
+ (@pbind _ _ _ _ _ c1 (fun x => match x with pat => c2 end))
82
(at level 100, pat pattern, c1 at next level, right associativity) : monad_scope.
83
84
End MonadNotation.
0 commit comments