Skip to content

Commit

Permalink
chore: deprecation for Array.data
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em committed Oct 13, 2024
1 parent 1d8555f commit 68d6970
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Init/Data/Array/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ variable {α : Type u}

namespace Array

@[deprecated size (since := "2024-10-13")] abbrev data := @toList

/-! ### Preliminary theorems -/

@[simp] theorem size_set (a : Array α) (i : Fin a.size) (v : α) : (set a i v).size = a.size :=
Expand Down

0 comments on commit 68d6970

Please sign in to comment.