Skip to content

Commit a9c1389

Browse files
authored
Merge pull request #41 from coq-ext-lib/v8.8
V8.8
2 parents 293dbd1 + 5dd9cfa commit a9c1389

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

theories/Structures/Monad.v

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ Module MonadNotation.
6767
Notation "e1 ;; e2" := (_ <- e1%monad ;; e2%monad)%monad
6868
(at level 100, right associativity) : monad_scope.
6969

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+
7073
End MonadNotation.
7174

7275
Polymorphic Instance Functor_Monad {m} {M:Monad m} : Functor m :=

0 commit comments

Comments
 (0)