typelevel/cats-mtl

Consider to use `InstanceOf` scalaz pattern

Odomontois opened this issue · 7 comments

This scalaz PR targeting well-known ambigous-subtype implicit problem resolving it without repackaging base typeclass instances inside sub-typeclass es.

I wonder if this method is suitable for cats-mtl project.

PR welcome?

This sounds like a good idea to me, I haven't fully understood the pattern yet, but it seems to strike a good balance. We've always said cats-mtl is an experimental part of the ecosystem, so I'd love to see a PR :)

Yes, we should definitely see where this leads.

Agreed! PR is definitely welcome.

I wonder if we could get an experimental version of simulacrum with this type of encoding

@Odomontois, are you working on this? If not I'd like to give this a shot.

@LukaJCB I picked up the task.

Closing in favor of #53