blob: 54240010a7b13b773c0a947da0ef2ba9a45c1763 [file] [edit]
open Lean PrettyPrinter
namespace ns
inductive Foo | mk: Foo
@[app_unexpander Foo.mk]
def unexpadFoo : Lean.PrettyPrinter.Unexpander | `($x) => `(unexpand)
def foo := Foo.mk
#print foo
@[app_unexpander ns.Foo.mk]
def unexpadFoo' : Lean.PrettyPrinter.Unexpander | `($x) => `(unexpand)
def bar := ns.Foo.mk
#print bar
end ns