
16 Dec
2014
16 Dec
'14
9:40 a.m.
On Mon, Dec 15, 2014 at 11:39 PM, Roman Cheplyaka
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. Erik