Skip to content

Commit

Permalink
Make Monad a cumulative inductive type
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGross committed Apr 2, 2023
1 parent 1a43883 commit 2442088
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/theories/monad_utils.v
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Coercion is_true : bool >-> Sortclass.
Import ListNotations.

Set Universe Polymorphism.
Set Polymorphic Inductive Cumulativity.

Class Monad@{d c} (m : Type@{d} -> Type@{c}) : Type :=
{ ret : forall {t : Type@{d}}, t -> m t
Expand Down

0 comments on commit 2442088

Please sign in to comment.