CoreDump-0.1.2.0: A GHC plugin for printing GHC's internal Core data structures.

Safe HaskellNone
LanguageHaskell2010

CoreDump.Show

Contents

Description

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.

Synopsis

Documentation

Orphan Show instances

data SId Source

Constructors

Id Name Type IdDetails IdInfo 

Instances

data STyVar Source

Constructors

TyVar Name 

Instances