You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no real need for the comma. People almost never use more than 1 line for specification of 1 dependency. So its role as a separator is pretty much redundant.
For the same reason the change will be backwards compatible for the majority of existing packages.
Consistency. Sections like default-extensions and exposed-modules already behave this way.
Clarity. Less syntactic noise.
To make it abundantly clear I suggest to make the following syntax valid:
build-depends:
base >=4.12&&<5
bytestring >=0.10&&<0.12
In addition to the following already supported variations:
build-depends:
base >=4.12&&<5,
bytestring >=0.10&&<0.12
build-depends:
base >=4.12&&<5,
bytestring >=0.10&&<0.12,
build-depends: base >=4.12&&<5, bytestring >=0.10&&<0.12
The text was updated successfully, but these errors were encountered:
Reasons:
default-extensions
andexposed-modules
already behave this way.To make it abundantly clear I suggest to make the following syntax valid:
In addition to the following already supported variations:
The text was updated successfully, but these errors were encountered: