In GHC 4.04 all rules are exported, very like the situation
with instance declarations. The only time a rule isn't exported
is if it mentions on the LHS some function that isn't exported
(directly or indirectly), in which case no importer could possibly
make use of the rule so there'd be no point.
So far I've not found a convincing case for making rules local; but
then I've not tried that much.
I'll update the documentation
Simon
> -----Original Message-----
> From: Marc van Dongen
> Sent: Sunday, August 08, 1999 9:28 PM
> To: [EMAIL PROTECTED]
> Subject: Exporting RULES
>
>
> Hi there,
>
>
> I was wondering if somebody could help me with this.
>
> I have the habit of exporting everything explicitly from
> a module. Is there any way of saying that certain
> RULES are exportable/importable from a module and others not?
>
>
> Regards,
>
>
> Marc
>