fix(init/data/nat/lemmas): generalize nat.iterate to (Sort u)
This commit is contained in:
parent
6635f6c8c1
commit
147436bfb8
1 changed files with 1 additions and 1 deletions
|
|
@ -874,7 +874,7 @@ begin
|
|||
apply le_div_iff_mul_le _ _ Hk
|
||||
end
|
||||
|
||||
def iterate {α : Type} (op : α → α) : ℕ → α → α
|
||||
def iterate {α : Sort u} (op : α → α) : ℕ → α → α
|
||||
| 0 a := a
|
||||
| (succ k) a := iterate k (op a)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue