Re: How do I find out a function's strictness?

2003-06-18 Thread Sven Panne
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,

RE: How do I find out a function's strictness?

2003-06-17 Thread Simon Marlow
In the ghc manual I read : How do I find out a function's strictness? Don't guess-look it up. Look for your function in the interface file, then for the third field in the pragma; it should say __S string. The string gives the strictness of the function's arguments. L is lazy

Re: How do I find out a function's strictness?

2003-06-17 Thread Francis Girard
-iface) : mismatched interface file versions: expected 5043, found 5043p Thank you Francis Girard [EMAIL PROTECTED] LE CONQUET, France Le 17 Juin 2003 13:00, Simon Marlow a écrit : In the ghc manual I read : How do I find out a function's strictness? Don't guess-look it up. Look

How do I find out a function's strictness?

2003-06-16 Thread Francis Girard
Hi, In the ghc manual I read : How do I find out a function's strictness? Don't guess-look it up. Look for your function in the interface file, then for the third field in the pragma; it should say __S string. The string gives the strictness of the function's arguments. L is lazy (bad), S