-
-
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
Add a diagram to show the relationship between typeclasses #95
Comments
This is a great idea 👍 |
Awesome! |
FWIW, I think the semigroupoid layout (text or not) is easier to digest and is a little more accessible. |
Oh wow the boxes in @xuwei-k's diagram are links to the source. That's fantastic! |
Please feel free to use this :) |
I really like the idea of auto-generating diagrams a la sbt-class-diagram. However, I decided to take a crack at making a graph by hand to see if I could use color and layout to help give folks a better intuition about what is going on: http://plastic-idolatry.com/erik/cats-graph.png. What do you all think? Auto-generating the graph (and keeping it automatically-updated) is really nice, but I think having colors, method names, and a manually layout may be nice too. |
Nice, I think it is worth to have a hand made diagram, it can be much clearer and typeclasses should be pretty stable (in a few a releases). |
Can we have the best of both worlds? If sbt-class-diagram is already there, then it seems we're okay with a On 22 June 2015 at 09:06, Julien Truffaut [email protected] wrote:
Kevin Wright "My point today is that, if we wish to count lines of code, we should not |
@kevinwright That's an interesting idea. @xuwei-k Do you think it would be possible to provide styling grouping hints to sbt-class-diagram? Do you have a sense of how well that might work? |
(Also, here is the diagram for the C[_, _] type classes: http://plastic-idolatry.com/erik/cats-graph2.png) |
I am going count this as fixed by #1416 |
Even something as basic as the diagram from semigroupoid would be very useful. We can iterate and make it look nicer on a second step.
The text was updated successfully, but these errors were encountered: