On Thu, Feb 3, 2011 at 11:40 PM, Richard O'Keefe <o...@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

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to