[Haskell-cafe] PVP question

Erik Hesselink hesselink at gmail.com
Tue Dec 16 09:40:15 UTC 2014

On Mon, Dec 15, 2014 at 11:39 PM, Roman Cheplyaka <roma at ro-che.info> wrote:
> On 16/12/14 00:31, Johan Tibell wrote:
>> So yes, if you use open imports and allow new minor versions, your code
>> might break. This is expected.
> One similarly could argue that "if you use functions in polymorphic
> contexts and allow new minor versions, your code might break".
> This isn't in the PVP, but it's exactly in the same spirit, IMO.

I think this is a bad idea, since a "polymorphic context" (even if
rigorously defined) is not clear from reading the code, you have to
type check it in your head. The import style, on the other hand, is
very simple to read and check if it matches the style of dependency
version ranges.


More information about the Haskell-Cafe mailing list