Skip to content

Conversation

@JackKelly-Bellroy
Copy link
Contributor

Haddock does not render the qualified module name in a type signature, so the run* functions render with confusing type signatures.

We can't fix that, but we can take a leaf out of the lens package and provide clearer ones.

The haddocks for these functions confused me and several colleagues when we first encountered them.

Rendered:
run

Haddock does not render the qualified module name in a type signature,
so the `run*` functions render with confusing type signatures.

We can't fix that, but we can take a leaf out of the `lens` package
and provide clearer ones.
@TeofilC
Copy link
Contributor

TeofilC commented May 14, 2025

Nice! I agree that this is clearer, thanks!

@TeofilC TeofilC merged commit 7d13689 into circuithub:master May 14, 2025
1 check passed
@JackKelly-Bellroy JackKelly-Bellroy deleted the statement-haddocks branch May 15, 2025 00:26
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