"How do I find out a function's strictness?"

Sven Panne Sven.Panne@informatik.uni-muenchen.de
Wed, 18 Jun 2003 11:14:21 +0200


Francis Girard wrote:
 > [...] Notice however that if I compile with the "-prof -auto-all -O"
 > flags then I got the following error message when I try to examine
 > the interface file (with --show-iface) :
 >
 > mismatched interface file versions: expected 5043, found 5043p

This has been fixed in GHC 6.x, as a workaround you can use the
undocumented option "-buildtag p" *before* --show-iface, e.g.

    ghc -buildtag p --show-iface Foo.p_hi

Cheers,
    S.