hpack
hpack copied to clipboard
Update README.md
add info about extensions
Should this simple PR be merged or closed?
I'm not sure. I think it is a good thing if the Hpack docs are useful on their own. On the other hand, for stuff that is almost literally mapped to .cabal it might make sense to reference the Cabal docs instead. Thoughts?
I'm not sure. I think it is a good thing if the Hpack docs are useful on their own. On the other hand, for stuff that is almost literally mapped to
.cabalit might make sense to reference the Cabal docs instead. Thoughts?
Certainly. But the doc in this PR is better than no doc, so it can't hurt.
Problems with a large number of links to the Cabal package description specification are (a) linking to which version of the specification? And (b) the 'cost' of maintaining the links.
Rather that treat these two Hpack keys differently from all the others, I think a better solution is:
- provide one introductory link in this document to the Cabal User Guide, and point the reader to the relevant part; and
- state expressly that a
.in theCabalcolumn means that the Hpack key corresponds directly to a field in the Cabal package description of the same name.