Skip to content

Commit

Permalink
Update with Kailuo's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
justinhj committed Jun 14, 2019
1 parent 97dbfef commit 92d266e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/src/main/tut/typeclasses/comonad.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ scaladoc: "#cats.Comonad"
---
# Comonad

Given any type class we can create a "Co" type class for which its functions
are the "dual" of the other. A dual to a function has the same types but the
direction of the arrows are reversed. Whether or not that is useful even possible
depends on the particular type.

`Comonad` is a `Functor` and provides duals of the [`Monad`](monad.html) `pure`
and `flatMap` functions.
and `flatMap` functions. A dual to a function has the same types but the
direction of the arrows are reversed. Whether or not that is useful even possible
depends on the particular type. For a more formal definition of duality, please
refer to [https://ncatlab.org/nlab/show/duality](https://ncatlab.org/nlab/show/duality).

### extract

Expand Down

0 comments on commit 92d266e

Please sign in to comment.