Upper bounds in PVP
Vincent Hanquez
tab at snarc.org
Thu Apr 10 14:17:55 UTC 2014
On 2014-04-10 15:04, MightyByte wrote:
> The PVP is not written in the style of RFC2119, so I think it's quite
> reasonable to interpret it as you would interpret normal English
> speech.
>
> "When publishing a Cabal package, you should ensure that your
> dependencies in the build-depends field are accurate. This means
> specifying not only lower bounds, but also upper bounds on every
> dependency."
>
> I as a native English speaker read that to mean that upper bounds MUST
> be specified on every dependency if you want to comply with the spirit
> of that document.
There would be maybe some doubts, provided that was the only use, but
you can find MUST correctly specified in the first section multiple
times. For me, it's a clear
sign that the authors meant to differentiate between the levels.
--
Vincent
More information about the Libraries
mailing list