Commit 57a494b
committed
docs(Algebra/MonoidAlgebra/Basic): fix order of arguments in docs (#7202)
The arguments to `AddMonoidAlgebra` were reversed with respect to normal use in the module docs. They also used `α` instead of `R`. For reference, these are the actual definitions:
```lean
-- Data/MvPolynomial/Basic
def MvPolynomial (σ : Type*) (R : Type*) [CommSemiring R] :=
AddMonoidAlgebra R (σ →₀ ℕ)
-- Data/Polynomial/Basic
structure Polynomial (R : Type*) [Semiring R] where ofFinsupp ::
toFinsupp : AddMonoidAlgebra R ℕ
```1 parent 1fa13fb commit 57a494b
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments