-
Notifications
You must be signed in to change notification settings - Fork 193
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
Wider overview of type class hierarchy #151
Comments
I think it would be good to have it here, even if it appears as an Appendix. You could use my hierarchy, which is a bit more detailed than the one in purescript-control: |
Wow. Yours is really good. Some wishlist items:
Although I guess the examples should really just be on the pursuit page. |
I've been wanting to convert this picture into an actual website. In addition to the actual type classes, it would show all of the instances of that type class. Thus, if you didn't understand what the abstract idea was, you could use the concrete implementations of it to build up to understanding that abstract concept. So, imagine your "wish list" but in addition to hovering over it, it would show the definition for each instance as found in a given package set. Even better, it would visually show what's going on, so that one can understand how it affects control flow / usage. |
That would be incredibly useful. |
This "introductory text" might not be the best place for a visual aid describing the hierarchy of type classes, but I'd like to be able to link to one.
There's a partial diagram here: https://github.com/purescript/purescript-control
(created with
purs hierarchy
, but that requires all classes to be defined in a single file)Something like haskell's Typeclassopedia, but targeted specifically for purescript would be really great.
The text was updated successfully, but these errors were encountered: