Skip to content

Commit

Permalink
Update typeclasses.md
Browse files Browse the repository at this point in the history
Add section header
  • Loading branch information
rklaehn committed Jan 20, 2016
1 parent 478a11d commit e249089
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/src/main/tut/typeclasses.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ def log[A](a: A)(implicit s: Show[A]) = println(s.show(a))
That is that declaring the type parameter as `A : Show`, it will add
an implicit parameter to the method signature (with a name we do not know).

# Typeclass hierarchy

Typeclass hierarchy for types parameterized on a type `F[_]`

![Typeclass hierarchy](http://g.gravizo.com/g?
digraph G {
aize ="4,4";
Expand All @@ -98,6 +102,7 @@ an implicit parameter to the method signature (with a name we do not know).
SemigroupK [group=g1]
MonoidK [group=g1]
Alternative [group=g1]
MonadFilter [group=g1]
MonadCombine [group=g1]
"functor.Invariant" [group=g4]
"functor.Contravariant" [group=g4]
Expand Down

0 comments on commit e249089

Please sign in to comment.