New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error message for missing implicits #581

Open
non opened this Issue Oct 21, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@non
Member

non commented Oct 21, 2015

Lots of newcomers forget to import implicit instances (e.g. cats.implicits._) which causes lots of pain.

It might be nice if when Functor[X] is not found, the the message indicates that you may have failed to import it (and can even mention cats.std.all._ or cats.implicits._).

What do you all think?

@non

This comment has been minimized.

Show comment
Hide comment
@non

non Oct 21, 2015

Member

(The bad part here is that I think this would require annotating every type class with some kind of message. Either that, or wiring it up to Simulacrum somehow.)

Member

non commented Oct 21, 2015

(The bad part here is that I think this would require annotating every type class with some kind of message. Either that, or wiring it up to Simulacrum somehow.)

@milessabin

This comment has been minimized.

Show comment
Hide comment
@milessabin

milessabin Oct 22, 2015

Member

Big +1 for wiring up in Simulacrum.

Member

milessabin commented Oct 22, 2015

Big +1 for wiring up in Simulacrum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment