Skip to content

Commit

Permalink
Fix contramap signature in Contravariant doc page
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Fiore committed Jun 12, 2016
1 parent 068bacb commit e28204d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/tut/contravariant.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The `Contravariant` type class is for functors that define a `contramap`
function with the following type:

```scala
def contramap[A, B](f: B => A): F[A] => F[B]
def contramap[A, B](fa: F[A])(f: B => A): F[B]
```

It looks like regular (also called `Covariant`) [`Functor`](functor.html)'s `map`,
Expand Down

0 comments on commit e28204d

Please sign in to comment.