fix: unexpand pairs
This commit is contained in:
parent
3309da8f1e
commit
9744b51c1b
1 changed files with 3 additions and 3 deletions
|
|
@ -111,9 +111,9 @@ macro:35 xs:bracketedExplicitBinders " ×' " b:term:35 : term => expandBrackedBi
|
|||
| _ => throw ()
|
||||
|
||||
@[appUnexpander Prod.mk] def unexpandProdMk : Lean.PrettyPrinter.Unexpander
|
||||
| `(Prod.mk $x `(($y, $ys,*))) => `(($x, $y, $ys,*))
|
||||
| `(Prod.mk $x $y) => `(($x, $y))
|
||||
| _ => throw ()
|
||||
| `(Prod.mk $x ($y, $ys,*)) => `(($x, $y, $ys,*))
|
||||
| `(Prod.mk $x $y) => `(($x, $y))
|
||||
| _ => throw ()
|
||||
|
||||
@[appUnexpander ite] def unexpandIte : Lean.PrettyPrinter.Unexpander
|
||||
| `(ite $c $t $e) => `(if $c then $t else $e)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue