Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
3287fb1d
Commit
3287fb1d
authored
Aug 18, 2006
by
simonpj@microsoft.com
Browse files
Better pretty-printing for TvSubst
parent
7a59afce
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/types/Type.lhs
View file @
3287fb1d
...
...
@@ -1135,9 +1135,9 @@ zip_ty_env tvs tys env = pprTrace "Var/Type length mismatch: " (ppr
instance Outputable TvSubst where
ppr (TvSubst ins env)
= sep[ ptext SLIT("
<
TvSubst"),
nest 2 (ptext SLIT("In scope:") <+> ppr ins),
nest 2 (ptext SLIT("Env:") <+> ppr env) ]
=
brackets $
sep[ ptext SLIT("TvSubst"),
nest 2 (ptext SLIT("In scope:") <+> ppr ins),
nest 2 (ptext SLIT("Env:") <+> ppr env) ]
\end{code}
%************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment