-
-
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
Curate order of type class list in docs #403
Comments
I've been reading through the docs and created a summary for each page that is currently done. For each page I listed what I considered was a pre-requirement ( So an interesting example is The other reason for this is to see how the structures of each page compares, so perhaps some general guidelines can be introduced - eg all pages have an implicit introduction that describes XX in a simple, non-technical way.
|
@danishin had some good input here. @danishin here are some thoughts I have on what you've said. I definitely agree that I didn't realize I also agree that I might suggest What do you think? |
I agree that As for
And regarding I think when it comes to learning these typeclasses, it's quintessential to show how things connect & build upon each other. For me, reading this SO answer was definitely a revealing moment, being able to connect two seemingly very different concepts, |
I never intended to leave those typeclasses as a list that just gets barfed into the end of typeclasses.html, I just never got around to presenting the material in a better way. I'm thrilled if someone is looking into this :) |
@danishin I guess I feel like the For example, I don't think understanding |
I agree that both concepts are orthogonal in theory and should be treated as such when introducing to minimize confusions, but nonetheless, I do think that it's useful to document the connection as more of an insight. By doing so, we can provide a broader generalization / abstraction over these different concepts. But as noted, I agree they need to be introduced separately and only generalize them afterwards. After all, all there is to category theory in CS is to provide abstractions / containers over different stuffs in order to be combined in a useful fashion. |
Right, that would be a good point to make in a tutorial relating category theory to the library's design. |
This confused the hell out of me. Trying to use scala-exercises to guide me but there are still cyclic deps, Traverse/Reader |
http://non.github.io/cats//typeclasses.html has a list of type classes present in Cats. Currently it is dynamically generated in alphabetical order. The fact that it's dynamic and therefore we don't need to remember to update it is great. However, it would probably be nice to introduce the simplest type classes first and progress to the more complicated ones.
For example it almost certainly makes sense to learn Functor before Applicative, but currently Applicative is first in the list.
See this gitter conversation for motivation.
The text was updated successfully, but these errors were encountered: