Re: Export Natural type from prelude

Henning Thielemann <[email protected]> Wed, 7 Jul 2021 21:09:31 +0200 (CEST)
Newsgroups gmane.comp.lang.haskell.libraries
Message-ID <[email protected]>
On Wed, 7 Jul 2021, Ken T Takusagawa wrote:

> On Fri, 2 Jul 2021, Carter Schonwald wrote:
>
>> This seems long overdue and aside from some redundant import warnings likely low breakage risk
>
> Am I understanding correctly that this will cause any code 
> that defines its own type named Natural to break?

right

> And the proper workaround will be
> import Prelude hiding(Natural)
> ?

this would work, but would cause warnings in older Prelude versions
_______________________________________________
Libraries mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries