fix(library/init): instance priorities
This commit is contained in:
parent
f4b1413cee
commit
f3e4c734fd
3 changed files with 12 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ Authors: Leonardo de Moura
|
|||
prelude
|
||||
import init.group
|
||||
|
||||
/- Make sure instances defined in this file have lower priority than the ones
|
||||
defined for concrete structures -/
|
||||
set_option default_priority 100
|
||||
|
||||
universe variable u
|
||||
|
||||
class ordered_mul_cancel_comm_monoid (α : Type u)
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@ Authors: Leonardo de Moura
|
|||
prelude
|
||||
import init.ordered_group init.ring
|
||||
|
||||
/- Make sure instances defined in this file have lower priority than the ones
|
||||
defined for concrete structures -/
|
||||
set_option default_priority 100
|
||||
|
||||
universe variable u
|
||||
|
||||
structure ordered_semiring (α : Type u)
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@ Authors: Leonardo de Moura
|
|||
prelude
|
||||
import init.group
|
||||
|
||||
/- Make sure instances defined in this file have lower priority than the ones
|
||||
defined for concrete structures -/
|
||||
set_option default_priority 100
|
||||
|
||||
universe variable u
|
||||
|
||||
class distrib (α : Type u) extends has_mul α, has_add α :=
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue