VCon c us -> text c <+> showVals us
VPCon c a us phis -> text c <+> braces (showVal a) <+> showVals us
<+> (hsep $ map ((char '@' <+>) . showFormula) phis)
- VPi a l@(VLam x t b) | "_" `isPrefixOf` x -> showVal1 a <+> text "->"
- <+> showVal1 b
- | otherwise -> showVal l
+ VPi a l@(VLam x t b)
+ | "_" `isPrefixOf` x -> showVal1 a <+> text "->" <+> showVal1 b
+ | otherwise -> parens (text x <+> colon <+> showVal t) <+> text "->" <+> showVal b
VPi a b -> text "Pi" <+> showVals [a,b]
VPair u v -> parens (showVal u <> comma <> showVal v)
VSigma u v -> text "Sigma" <+> showVals [u,v]