Skip to content
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

Tweak 'cover' example code in haddocks #423

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

jhrcek
Copy link
Contributor

@jhrcek jhrcek commented Jun 23, 2021

This is a minor thing 😄 but I was totally confused for few minutes after staring at this example in haddocks (notice how True and False are rendered - but the 2nd argument of Cover is LabelName)

Screenshot from 2021-06-23 09-01-43

This might be some haddock bug - it renders String literals in other code blocks correctly, but for some reason it renders True and False in this case as (dead) links.

After this small fix the example is rendered correctly (tested locally):

Screenshot from 2021-06-23 08-59-19

@jacobstanley jacobstanley merged commit c7d7a27 into hedgehogqa:master Jan 27, 2022
@jacobstanley
Copy link
Member

Thank you 🙏

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