Should the PVP be changed with regards to instances?

Michael Snoyman michael at snoyman.com
Tue Dec 20 17:32:06 CET 2011


On Tue, Dec 20, 2011 at 6:12 PM, Johan Tibell <johan.tibell at gmail.com> wrote:
> Hi,
>
> I find myself reluctant to add new instances to the unordered-containers
> package, because doing so would require a major version bump according to
> the PVP. Major version bumps are annoying for several reasons:
>
>  * Libraries that depend on unordered-containers need to be updated and make
> new releases.
>  * We get rapid successions of major releases without many actual changes
> (i.e. none as far as most users are concerned).
>
> Introducing new instances is unlikely to break users, as they will only get
> into trouble if they use orphan instances, which is already asking for
> trouble!
>
> Thoughts?
>
> Cheers,
> Johan
>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>

+1. New instances will only break code that wrote orphan instances.
And I think people who write orphan instances know that this kind of
breakage may happen at some point.

Michael



More information about the Libraries mailing list