scalawithcats / scala-with-cats

Source code for Scala with Cats
http://underscore.io/books/scala-with-cats
390 stars 129 forks source link

Fix example in §3.5.2 #210

Open BenMotz opened 2 years ago

BenMotz commented 2 years ago

The current example makes the compiler complain that value map is not a member of type parameter F[Int] (and that parameter value functor in method doMath is never used).

noelwelsh commented 2 years ago

Thanks! I'll review when I'm next working on the book.