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

clickable list brackets in type signatures #37

Open
ceedubs opened this issue Dec 9, 2024 · 1 comment
Open

clickable list brackets in type signatures #37

ceedubs opened this issue Dec 9, 2024 · 1 comment

Comments

@ceedubs
Copy link

ceedubs commented Dec 9, 2024

If you click on a [ or ] list brace in an implementation or doc example, it takes you to the doc for the List type; that's a really nice touch!

But a [ or ] in a type signature doesn't get the same treatment. For example in the type signature for Stream.toList it would be nice if I could click on either of the braces in [a].
image

@hojberg
Copy link
Contributor

hojberg commented Dec 9, 2024

Hmm this looks to be a bit of a deeper issue than would appear on the surface. In signatures, it looks like we're not pretty printing them as a reference at all, but as a delimiter char.

I think this would have to be changed in the pretty printer somehow. @aryairani any thoughts?

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

No branches or pull requests

2 participants