suppress closure env in printing

This commit is contained in:
2024-11-13 22:03:00 -08:00
parent f80fc9c0ff
commit a186c15477
2 changed files with 3 additions and 3 deletions

View File

@@ -266,7 +266,7 @@ Show Val where
show (VVar _ k sp) = "(%var\{show k} \{unwords $ map show (sp <>> [])})"
show (VRef _ nm _ [<]) = nm
show (VRef _ nm _ sp) = "(\{nm} \{unwords $ map show (sp <>> [])})"
show (VMeta _ ix sp) = "(%meta \{show ix} ..\{show $ length sp})"
show (VMeta _ ix sp) = "(%meta \{show ix} [\{show $ length sp} sp])"
show (VLam _ str x) = "(%lam \{str} \{show x})"
show (VPi fc str Implicit x y) = "(%pi {\{str} : \{show x}}. \{show y})"
show (VPi fc str Explicit x y) = "(%pi (\{str} : \{show x}). \{show y})"
@@ -299,7 +299,7 @@ data Closure = MkClosure Env Tm
covering
Show Closure where
show (MkClosure xs t) = "(%cl \{show xs} \{show t})"
show (MkClosure xs t) = "(%cl [\{show $ length xs} env] \{show t})"
{-
smalltt