-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation of field tested-with
#4894
Comments
Good catch! I'll try to improve the documentation (unless you want to take a stab at it). For historical context, afaik, the However, it turned out to be convenient to use in the travis-script generator in https://github.com/hvr/multi-ghc-travis, and that's (to my knowledge) the only tooling that still makes use of the |
The current documentation shows some representative examples, so this issue can be closed. |
Yes, that's probably good enough.
|
Comma is optional by historical mistake. My plan was to abolish optional commas from the format all together. Either the field doesn't have commas (e.g. Commas really improve error messages when you screw up. There is leading or trailing commas if you want diff friendly lists:
EDIT: main motivation is indeed
which worked. That doesn't work with |
@phadej wrote:
This is a syntax I can live with very well! It has the convenience of bullet lists where the first entry does not have a special syntax, so I can conveniently cut and rearrange lines. However, I never dared to start a list with an empty entry, I would have written:
Trying your syntax, I get a parse error.
This error does not give me a hint towards its solution. I will likely believe that I cannot start a list with a comma. However, believing you, after a year of diving into TL;DR A diff-friendly example for |
A grab-bag of alternatives as discussed at haskell#4894.
A grab-bag of alternatives as discussed at haskell#4894.
A grab-bag of alternatives as discussed at haskell#4894.
Additional examples in doc of `tested-with` (fix #4894)
The documentation http://cabal.readthedocs.io/en/latest/developing-packages.html?highlight=tested-with#pkg-field-tested-with currently just says
The format of the
compiler list
needs to be explained by a representative example at least.Cabal does have specific expectations here, as witnessed by this error:
The text was updated successfully, but these errors were encountered: