-
Notifications
You must be signed in to change notification settings - Fork 150
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
createDomain
creates definitions without documentation
#1674
Comments
Not much we can do for this right? Haddock's floating documentation doesn't let you attach docs to a specific entity I don't think, and we can't generate docs with TH currently. Unless you have some idea? |
Right, I forgot that. That's pretty annoying. Haddock should probably get an option to locally disable specific warnings (and it should get a |
GHC 9.2 will solve this, I think: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3330 |
You say potato, I say 🥔 |
fixes #1674 This makes it possible to explicitly define the type alias (or the helper). This can be useful when writing documentation for both. For example: ```haskell -- | MySystem is a custom domain ... type MySystem = ("MySystem" :: Domain) -- | vMySystem is is the domain configuration associated with `MySystem` createDomain vSystem{vName="MySystem"} ```
fixes #1674 This makes it possible to explicitly define the type alias (or the helper). This can be useful when writing documentation for both. For example: ```haskell -- | MySystem is a custom domain ... type MySystem = ("MySystem" :: Domain) -- | vMySystem is is the domain configuration associated with `MySystem` createDomain vSystem{vName="MySystem"} ```
This is an issue when trying to achieve 100% documentation coverage. E.g.:
The text was updated successfully, but these errors were encountered: