Compare commits

..

No commits in common. "967e3dfb4f2aa808250967d43a8be25965537c0d" and "7b59937853fd70fdf8842b00e3fe470fc127e1d6" have entirely different histories.

2 changed files with 10 additions and 10 deletions

View File

@ -14,15 +14,15 @@ def is_symbol_unsafe_or_internal (n: Lean.Name) (info: Lean.ConstantInfo): Bool
def to_compact_symbol_name (n: Lean.Name) (info: Lean.ConstantInfo): String := def to_compact_symbol_name (n: Lean.Name) (info: Lean.ConstantInfo): String :=
let pref := match info with let pref := match info with
| .axiomInfo _ => "a" | .axiomInfo _ => "axiom"
| .defnInfo _ => "d" | .defnInfo _ => "defn"
| .thmInfo _ => "t" | .thmInfo _ => "thm"
| .opaqueInfo _ => "o" | .opaqueInfo _ => "opaque"
| .quotInfo _ => "q" | .quotInfo _ => "quot"
| .inductInfo _ => "i" | .inductInfo _ => "induct"
| .ctorInfo _ => "c" | .ctorInfo _ => "ctor"
| .recInfo _ => "r" | .recInfo _ => "rec"
s!"{pref}{toString n}" s!"{pref}|{toString n}"
def to_filtered_symbol (n: Lean.Name) (info: Lean.ConstantInfo): Option String := def to_filtered_symbol (n: Lean.Name) (info: Lean.ConstantInfo): Option String :=
if is_symbol_unsafe_or_internal n info if is_symbol_unsafe_or_internal n info

View File

@ -1,5 +1,5 @@
namespace Pantograph namespace Pantograph
def version := "0.2.9" def version := "0.2.8"
end Pantograph end Pantograph