Why are there no Show instances for internal types
Joachim Breitner
mail at joachim-breitner.de
Sat Mar 18 20:50:58 UTC 2017
Am Samstag, den 18.03.2017, 14:03 +0100 schrieb Tom Sydney Kerckhove:
>
> - 'Outputting' a value requires DynFlags. (yes, I know about pprTrace)
You can often get away with
showSDocUnsafe . ppr :: Outputable a => a -> String
Greetings,
Joachim
--
Joachim “nomeata” Breitner
mail at joachim-breitner.de • https://www.joachim-breitner.de/
XMPP: nomeata at joachim-breitner.de • OpenPGP-Key: 0xF0FBF51F
Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170318/ef5aa800/attachment-0001.sig>
More information about the ghc-devs
mailing list