Skip to content

Commit

Permalink
Adapt w.r.t. coq/coq#18910.
Browse files Browse the repository at this point in the history
We guide unification a bit to prevent TC resolution from relying on a previously
transparent Coq primitive.
  • Loading branch information
ppedrot committed Apr 8, 2024
1 parent 07f092d commit f8295f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Theory/Coq/Monad.v
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Open Scope monad_scope.
Instance Compose_Monad `{Monad M} `{Applicative N}
`{@Monad_Distributes M N} : Monad (M ∘ N) := {
ret := λ _ x, ret[M] (pure[N] x);
bind := λ _ _ m f, m >>=[M] (mprod M N ∘ ap (pure f));
bind := λ x y m f, m >>=[M] (mprod M N ∘ ap (@pure _ _ (x → M (N y)) f));
}.

#[export]
Expand Down

0 comments on commit f8295f0

Please sign in to comment.