Export Natural type from prelude

Henning Thielemann lemming at henning-thielemann.de
Wed Jul 7 19:09:31 UTC 2021


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


More information about the Libraries mailing list