[Haskell-cafe] ghc api printing of types
lonetiger at gmail.com
Thu Jul 1 16:00:28 EDT 2010
I was wondering how given a Type I can get a pretty printed type out of it.
I'm currently using showSDocUnqual . pprType . snd . tidyOpenType
But this has the problem that predicates don't get printed, anyone know how
GHCi does this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe