From ce2ca1ff860e2d9798343fa9b11ec48d9cccccfc Mon Sep 17 00:00:00 2001 From: Ben Motz Date: Mon, 29 Nov 2021 20:09:59 +0000 Subject: [PATCH] =?UTF-8?q?Add=20missing=20imports=20for=20example=20in=20?= =?UTF-8?q?=C2=A73.5.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/functors/cats.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/functors/cats.md b/src/pages/functors/cats.md index 3ae4835c..756057ca 100644 --- a/src/pages/functors/cats.md +++ b/src/pages/functors/cats.md @@ -86,8 +86,10 @@ def doMath[F[_]](start: F[Int]) (implicit functor: Functor[F]): F[Int] = start.map(n => n + 1 * 2) +import cats.Functor import cats.instances.option._ // for Functor import cats.instances.list._ // for Functor +import cats.syntax.functor._ // for map ``` ```scala mdoc