Skip to content

Commit

Permalink
feat: order the output of #print axioms (#4416)
Browse files Browse the repository at this point in the history
Closes #4415
  • Loading branch information
hargoniX authored Jun 10, 2024
1 parent ea46bf2 commit 366f3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lean/Elab/Print.lean
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ private def printAxiomsOf (constName : Name) : CommandElabM Unit := do
if s.axioms.isEmpty then
logInfo m!"'{constName}' does not depend on any axioms"
else
logInfo m!"'{constName}' depends on axioms: {s.axioms.toList}"
logInfo m!"'{constName}' depends on axioms: {s.axioms.qsort Name.lt |>.toList}"

@[builtin_command_elab «printAxioms»] def elabPrintAxioms : CommandElab
| `(#print%$tk axioms $id) => withRef tk do
Expand Down

0 comments on commit 366f3ac

Please sign in to comment.