From a46aca64d9f07a13e3e85689bdaf5a8da4e37755 Mon Sep 17 00:00:00 2001 From: Justin Heyes-Jones Date: Tue, 14 Apr 2020 08:19:20 -0700 Subject: [PATCH] Fix a link in the documentation for Traverse (#3383) * Correct some mistakes in Comonad documentatoin * Fix link in traverse doc --- docs/src/main/tut/typeclasses/traverse.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/tut/typeclasses/traverse.md b/docs/src/main/tut/typeclasses/traverse.md index fd1277a1a4..31d41dfff5 100644 --- a/docs/src/main/tut/typeclasses/traverse.md +++ b/docs/src/main/tut/typeclasses/traverse.md @@ -160,7 +160,7 @@ def foldMap[F[_]: Traverse, A, B: Monoid](fa: F[A])(f: A => B): B = Traverse[F].traverse[Const[B, *], A, B](fa)(a => Const(f(a))).getConst ``` -This works because `Const[B, *]` is an `Applicative` if `B` is a `Monoid`, as explained in [the documentation of `Const`](const.html#example-2-traverse). +This works because `Const[B, *]` is an `Applicative` if `B` is a `Monoid`, as explained in [the documentation of `Const`](../datatypes/const.html#example-2-traverse). ## Further Reading