Skip to content

Commit

Permalink
chore: bump batteries, follow deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em committed Nov 14, 2024
1 parent 39119d2 commit 6d58bf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Aesop/Util/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def getConclusionDiscrTreeKeys (type : Expr) (config : WhnfCoreConfig) :
-- For a constant `d` with type `∀ (x₁, ..., xₙ), T`, returns keys that
-- match `d * ... *` (with `n` stars).
def getConstDiscrTreeKeys (decl : Name) : MetaM (Array Key) := do
let arity := (← getConstInfo decl).type.forallArity
let arity := (← getConstInfo decl).type.getNumHeadForalls
let mut keys := Array.mkEmpty (arity + 1)
keys := keys.push $ .const decl arity
for _ in [0:arity] do
Expand Down
2 changes: 1 addition & 1 deletion lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "76e9ebe4176d29cb9cc89c669ab9f1ce32b33c3d",
"rev": "b100ff2565805e9f30a482788b3fc66937a7f38a",
"name": "batteries",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
Expand Down

0 comments on commit 6d58bf5

Please sign in to comment.