This PR adds the options `pp.piBinderNames` and `pp.piBinderNames.hygienic`. Enabling `pp.piBinderNames` causes non-dependent pi binder names to be pretty printed, rather than be omitted. When `pp.piBinderNames.hygienic` is false (the default) then only non-hygienic such biner names are pretty printed. Setting `pp.all` enables `pp.piBinderNames` if it is not otherwise explicitly set. Implementation note: this is exposing the secret pretty printer option `pp.piBinderNames` that was being used within the signature pretty printer. Closes #1134.
4 lines
123 B
Text
4 lines
123 B
Text
(100, 400)
|
|
(49, 576, 576)
|
|
def g : (x y : Int) → Int :=
|
|
fun (x y : Int) => @mul.{0} (@magmaOfMul.{0} Int Int.instMul) x y
|