This PR fixes a problem for structures with diamond inheritance: rather than copying doc-strings (which are not available unless `.server.olean` is loaded), we link to them. Adds tests.
9 lines
258 B
Text
9 lines
258 B
Text
module
|
|
|
|
public section
|
|
|
|
class Monoid (M : Type) extends Mul M where
|
|
|
|
class DivInvMonoid (G : Type) extends Mul G where
|
|
/-- The power operation: `a ^ n = a * ··· * a`; `a ^ (-n) = a⁻¹ * ··· a⁻¹` (`n` times) -/
|
|
protected zpow : Int → G → G
|