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
{{ message }}
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
In System.Console.ParseArgs, I had in my module exports the line
Args(argsUsage, argsProgName, argsRest),
which hides the export of the record constructor args. Unfortunately, Haddock fails to document the other exported constructors of the record (even their existence), making them essentially invisible to users. This is bad, because these constructors are necessary for many ParseArgs use cases.
I could probably work around this with some bletcherous module import chicanery, but I don't think it would be a good idea. Instead, I've got something gross in there for now that just renames args to __args and exports the whole record. I suppose I could play games with a typeclass, but bleah.
This issue was first reported seven years ago in http://trac.haskell.org/haddock/ticket/3, and was last updated 20 months ago. I don't understand Haddock well enough to offer a patch.