feat: prettify mvars somewhat

This commit is contained in:
Sebastian Ullrich 2020-09-15 13:34:26 +02:00 committed by Leonardo de Moura
parent 650e836ab3
commit ab046db6ed

View file

@ -247,6 +247,7 @@ pure $ mkIdent l.userName
@[builtinDelab mvar]
def delabMVar : Delab := do
Expr.mvar n _ ← getExpr | unreachable!;
let n := n.replacePrefix `_uniq `m;
`(?$(mkIdent n))
@[builtinDelab sort]