haskell / haskell/cabal

Field Syntax Reference bugs

Open
#9,793 8 comments 3 reactions 0 assignees View on GitHub
documentation
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

In section 10, Field Syntax Reference there are many bugs.
Here are some I found today:

- main-is: is a field for executables also
- extra-source-files: does not require a comma
- other-modules: does not require a comma
- location: field is not described
- subdir: field is not described
- x-revision: field is not described
- license-files: field is not described
- cabal-version: is described to have the literal value 3.4, should be more general
- exposed-modules: field is not described
- nhc98-options: field is not described
- import: field not describes

In the description of \ring and \bullet it's unclear what "spaces" means.
Is it a 0x20 character? Or can it also be a 0x0a? It seems to be the latter.

I will report more as I find them. This was from parsing a single .cabal file with my parser that follows section 10.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.