[Haskell-cafe] Byte Histogram

Johan Tibell johan.tibell at gmail.com
Fri Feb 4 08:26:32 CET 2011


On Thu, Feb 3, 2011 at 11:40 PM, Richard O'Keefe <ok at cs.otago.ac.nz> wrote:
> Back in the days when systems other than Wintel and maybe sort of intel Linux were
> supported by Clean, I used to really love one of the features of the Clean compiler.
> One simple command line switch and the compiler would list the names of all your
> top level functions together with their types, and the types included strictness.
> (Also uniqueness, not relevant to Haskell.)
>
> The GHC documentation says the information is in the interface files,
> but they are binary now, and I can't find it there.

ghc --show-iface HI_FILE

The strictness signatures are a bit hard to parse though. Having a
cheat sheet would be nice.

Johan



More information about the Haskell-Cafe mailing list