-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Starting with Cabal 3.0, there's a more concise way to represents ||-unions of ^>= and == expressions
It's documented at https://cabal.readthedocs.io/en/latest/developing-packages.html#pkg-field-build-depends:
Starting with Cabal 3.0, a set notation for the == and ^>= operator is available. For instance,
tested-with: GHC == 8.6.3, GHC == 8.4.4, GHC == 8.2.2, GHC == 8.0.2,
GHC == 7.10.3, GHC == 7.8.4, GHC == 7.6.3, GHC == 7.4.2
build-depends: network ^>= 2.6.3.6 || ^>= 2.7.0.2 || ^>= 2.8.0.0 || ^>= 3.0.1.0
can be then written in a more convenient and concise form
tested-with: GHC == { 8.6.3, 8.4.4, 8.2.2, 8.0.2, 7.10.3, 7.8.4, 7.6.3, 7.4.2 }
build-depends: network ^>= { 2.6.3.6, 2.7.0.2, 2.8.0.0, 3.0.1.0 }
maybe this would be a useful additional output syntax to support in staversion?
Metadata
Metadata
Assignees
Labels
No labels