Safe Haskell | None |
---|---|
Language | Haskell2010 |
We define lots of orphan Show instances here, for debugging and learning purposes.
Most of the time while trying to figure out when a constructor is used or how is a term compiled, it's easiest to just create an example and run the plugin on it.
Without Show instances though, we can't easily inspect compiled outputs.
Outputable generated strings hide lots of details(especially constructors),
but we still export a showOutputable
here, for similar reasons.
Documentation
showOutputable :: Outputable a => a -> String Source