Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Conversation

@Lysxia
Copy link
Contributor

@Lysxia Lysxia commented May 10, 2018

Fixes #698.

@sjakobi
Copy link
Member

sjakobi commented Jun 13, 2018

I would like to have this.

@alexbiehl: Can this get merged?

@Lysxia
Copy link
Contributor Author

Lysxia commented Aug 28, 2018

Is there anything still missing?

@Lysxia Lysxia mentioned this pull request Nov 9, 2018
@Lysxia Lysxia changed the base branch from ghc-8.4 to ghc-8.6 November 26, 2018 16:26
@Lysxia
Copy link
Contributor Author

Lysxia commented Jan 2, 2019

Ping @harpocrates. This is ready for review.

@harpocrates
Copy link
Collaborator

@Lysxia Thanks for rebasing! I haven't merged this sooner because I'm a bit wary of pushing through stylistic changes which aren't obvious improvements (especially after the new theme). In other words: it isn't clear to me that this is a change that most people will want. If you could encourage folks to give feedback either in a mailing list, on IRC, on Reddit, or simply as 👍/👎 on the PR, I'll happily merge.

Personally, I'm neither a 👍 nor a 👎.

Again, I'm really sorry for letting this live in a limbo state for so long. 😞

@Lysxia
Copy link
Contributor Author

Lysxia commented Jan 2, 2019

I see, that makes sense. I'll start a thread on haskell-café to get feedback.

@ntc2
Copy link
Contributor

ntc2 commented Jan 2, 2019

I'm an enthusiastic 👍 on collapsing instances by default.

For example, the Prelude Haddocks are 98 screens tall with instances expanded [1], vs 40 screens with instances collapsed [2]. I.e. the Prelude documentation is 60% instances! When looking at documentation I usually don't care about the instances until I've zeroed in on a specific data type. Similar with examples, where I'm happy they are collapsed by default.

[1] prelude-expanded-98-screens
[2] prelude-collapsed-40-screens

@david-christiansen
Copy link

It seems to me that this might make it more difficult to find information by searching in the page, given that Ctrl-F will typically skip hidden content. In the past, I've used Ctrl-F to get an overview of instances and datatypes when trying to figure out a library.

What about adding an "expand all" button, to continue supporting this use case?

@Lysxia
Copy link
Contributor Author

Lysxia commented Jan 4, 2019

Thanks everyone for the feedback! After more thinking and discussion on Haskell-café, it seems too radical to switch the default globally. Or at the very least, more experimentation is necessary. So I will close this PR for now and continue discussion on #698.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants