
4 Feb
2011
4 Feb
'11
2:26 a.m.
On Thu, Feb 3, 2011 at 11:40 PM, Richard O'Keefe
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