Skip to content

Updated haddocks for GHC 8.6 compatibility.#33

Open
kquick wants to merge 1 commit intomasterfrom
fix_haddocks
Open

Updated haddocks for GHC 8.6 compatibility.#33
kquick wants to merge 1 commit intomasterfrom
fix_haddocks

Conversation

@kquick
Copy link
Copy Markdown
Member

@kquick kquick commented Jul 28, 2020

No description provided.

@eddywestbrook
Copy link
Copy Markdown
Contributor

Hey @kquick, I never merged this, sorry; does this still need to be merged?

@kquick
Copy link
Copy Markdown
Member Author

kquick commented Oct 16, 2020

Probably, @eddywestbrook but I don't have time to update it for the conflicts until next week. The main issue is that Haddock doesn't support post-documentation of GADT constructors, only pre-documentation.

Bad:

    data MyGADT where
        Con :: ...
        - ^ This is doc for Con

Good:

    data MyGADT where
        - | This is doc for Con
        Con :: ...

These changes are pretty mechanical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants