We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 159c361 commit 3dd102cCopy full SHA for 3dd102c
theories/Structures/Monad.v
@@ -1,3 +1,5 @@
1
+From Coq Require Import
2
+ Basics.
3
Require Import ExtLib.Core.Any.
4
Require Import ExtLib.Structures.Functor.
5
Require Import ExtLib.Structures.Applicative.
@@ -47,6 +49,8 @@ Section monadic.
47
49
(f: T -> m U) (g: U -> m V): (T -> m V) :=
48
50
fun x => bind (f x) g.
51
52
+ Definition join {m a} `{Monad m} : m (m a) -> m a := flip bind id.
53
+
54
End monadic.
55
56
Module MonadBaseNotation.
0 commit comments