From 4a149a6dfeafae480b2f08c9ec8e8b1883cb6bc7 Mon Sep 17 00:00:00 2001 From: yytyd Date: Wed, 20 May 2020 01:44:33 +0900 Subject: [PATCH] Fix broken link --- docs/docs/reference/contextual/typeclasses.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/reference/contextual/typeclasses.md b/docs/docs/reference/contextual/typeclasses.md index 37259d06efbf..e2a265ed4e52 100644 --- a/docs/docs/reference/contextual/typeclasses.md +++ b/docs/docs/reference/contextual/typeclasses.md @@ -63,7 +63,7 @@ def combineAll[T: Monoid](xs: List[T]): T = xs.foldLeft(Monoid[T].unit)(_ combine _) ``` -We can also benefit from [extension methods](extension-methods-new.html) to make this `combineAll` function accessible as a method on the `List` type: +We can also benefit from [extension methods](extension-methods.html) to make this `combineAll` function accessible as a method on the `List` type: ```scala @@ -119,7 +119,7 @@ assertTransformation(List("a1", "b1"), List("a", "b"), elt => s"${elt}1") ``` That's a first step, but in practice we probably would like the `map` function to be a method directly accessible on the type `F`. So that we can call `map` directly on instances of `F`, and get rid of the `summon[Functor[F]]` part. -As in the previous example of Monoids, [`extension` methods](extension-methods-new.html) help achieving that. Let's re-define the `Functor` _typeclass_ with extension methods. +As in the previous example of Monoids, [`extension` methods](extension-methods.html) help achieving that. Let's re-define the `Functor` _typeclass_ with extension methods. ```scala trait Functor[F[?]] {