scalawithcats / scala-with-cats

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

PrintableSyntax solution minor improvement #151

Closed rudwna closed 5 years ago

rudwna commented 5 years ago

I'd suggest it's better to use the type class instance directly instead of depending on and mixing with Printable object which is another approach to using type class. I think this better reflect the purpose of the exercise and the actual use case.