Re: Export Natural type from prelude

Ken T Takusagawa <[email protected]> Wed, 7 Jul 2021 15:03:07 -0400 (EDT)
Newsgroups gmane.comp.lang.haskell.libraries
Message-ID <[email protected]>
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?  (I don't 
know how much code exists that does this.)

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

I am not opposed to this proposal; I just want it to be 
clear what it will break.

--ken
_______________________________________________
Libraries mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries