Skip to content

Commit 89a0a22

Browse files
Merge pull request #226 from MichalZalecki/patch-1
Correct comonad value variable name
2 parents 5ac5a9f + 6f00ac2 commit 89a0a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ extract :: Comonad w => w a ~> () -> a
528528
A value which has a Comonad must provide an `extract` method on itself.
529529
The `extract` method takes no arguments:
530530

531-
c.extract()
531+
w.extract()
532532

533533
1. `extract` must return a value of type `v`, for some variable `v` contained in `w`.
534534
1. `v` must have the same type that `f` returns in `extend`.

0 commit comments

Comments
 (0)