-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Ordering for type classes on microsite #1420
Comments
I think there are a lot of crisscrossing paths through this stuff, so I wonder if it would make sense to organize it into a set of "tracks", each with its own introduction and progression. Some chapters would be appear in multiple tracks. For example:
Above I have kind of folded The relationship between |
Yeah that makes sense. The troubles of reusable abstractions ;) @juanpedromoreno Not sure if you have any ideas around this, is it possible to support a structure like @tpolecat suggested? |
The side menu definition in the sbt-microsites plugin should allow you to reference the same page more than once, seems like. |
@adelbertc @tpolecat Both alternatives look good. About the first one, it's already possible. We need to add the https://www.scala-exercises.org/cats Regarding the second alternative, it also would be possible with some tweaks. For instance, the menu definition (
In this second case, I'm not sure if the result (it would be a very long menu) would be intuitive when you are trying to find a concrete typeclass: What do you think? |
Hm I think if we explain what the meaning of the ordering is on the Type Classes page it might be OK. We could further order the top-level categories to give more visibility to common ones, like have the Monads series up top or something. I'll ping on Gitter for feedback. |
I think each track should have a short introduction before the first TC doc, so you have some idea of what it's about and the kinds of constructions it will introduce. |
I like that idea. We have a company hackthon this Wed - Fri so I'm planning on rehauling some of the Cats docs for this. Will keep this in mind as I do it - keep the suggestions coming! |
Currently they're in alphabetical order: http://typelevel.org/cats/typeclasses.html
We probably a want more natural ordering, here's a strawman proposal:
I omitted
Id
, not sure why that's under type classes. Also omittedShow
since that's covered in the base page.This is assuming the current set of tutorials we have. We probably want some others in there like
FlatMap
, but we can deal with those later./cc @juanpedromoreno our sbt-microsite extraordinnaire
@tpolecat since I know he has a lot of thoughts about this stuff
The text was updated successfully, but these errors were encountered: