Closed nsadeh closed 4 years ago
That code looks correct to me. You might try import cats.implicits._
instead of the imports you list, just to make sure nothing is missing. If you can upload a complete project I'll can take a look when time allows.
I haven't heard back from you so I'm closing this.
I got
This gives me
value |+| is not a member of type parameter A
. Same error with context bound syntax.What does work is
Is this an error in the book or is there a compiler arg I am missing?