Skip to content
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

support more coercions #53

Open
zliu41 opened this issue Apr 15, 2022 · 0 comments
Open

support more coercions #53

zliu41 opened this issue Apr 15, 2022 · 0 comments

Comments

@zliu41
Copy link
Member

zliu41 commented Apr 15, 2022

The plugin supports only a handful of coercions in categorizeFun. One in particular that crops up is AxiomInstCo.

So far, AxiomInstCo has always been the result of a type class that has a single method and no super-classes. There is a workaround for this case.

  1. make the type class "more complex" by either adding a dummy method or adding a super-class, like class EmptyClass a => SimpleClass a where ...
  2. include a comment referencing this ticket.

(Extricated from https://kitty-hawk.atlassian.net/browse/SW-3013)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant