It will probably help performance to use (!).
In GHC 4.03 (the one in the CVS tree right now), no-prune-tydecls
has gone away. So just use -fno-prune-tydecls for now as much
as necessary; you won't need it in the future.
S
> -----Original Message-----
> From: [EMAIL PROTECTED]
> Sent: Thursday, June 10, 1999 1:05 PM
> To: [EMAIL PROTECTED]
> Subject: -fno-prune-tydecls -O
>
>
> For
>
> data OSet a =
> OSet {osetSample :: !a,
> membership :: !(Char -> a -> Bool),
> osetCard :: !(InfUnn Z),
> osetPointed :: !(MMaybe a),
> osetList :: !(Maybe [a]),
> osetBounds :: !(MMaybe a,MMaybe a,MMaybe a,MMaybe a),
> osetProps :: !Properties_OSet,
> osetConstrs :: ![Construction_OSet a],
> osetOpers :: !(Operations_OSet a)
> }
> deriving(Show)
>
> ghc-4.02 -c
>
> reports a Warning about some constructor thing for InfUnn being not
> defined and about better to use -fno-prune-tydecls.
>
> User_guide writes this may be with -Onot.
> But i get this Warning with -O too.
>
> I also have a question:
> does this help the performance to set `!' everywere in the above
> record?
>
>
> ------------------
> Sergey Mechveliani
> [EMAIL PROTECTED]
>