ppretty tyvars
This commit is contained in:
@@ -181,7 +181,7 @@ instance (Out b) => Out (Type b) where
|
||||
outPrec appPrec f <+> outPrec appPrec1 x
|
||||
outPrec p FunT = maybeParens (p>0) "->"
|
||||
outPrec p (ForallT x m) = maybeParens (p>0) $
|
||||
hsep [ "∀", ttext x, outPrec 0 m ]
|
||||
hsep [ "∀", ttext x <> ".", outPrec 0 m ]
|
||||
|
||||
instance (Out b) => Out (Pat b) where
|
||||
outPrec p (VarP b) = outPrec p b
|
||||
|
||||
Reference in New Issue
Block a user