Skip to content

Conversation

@alexfmpe
Copy link
Contributor

@alexfmpe alexfmpe commented Apr 7, 2022

Got some arity kind error when trying to use a MyGadt a :: * -> *, and this seems to make the kinds line up, though I'm not sure if it's the right fix. The makeClassHead parameter doesn't seem the right way to go about it, but that's for DataD. I'm not so sure about the other Dec cases. For instance, I don't get the intent for InstanceD at all - we're modifying instances?

@alexfmpe alexfmpe requested a review from cgibbard April 7, 2022 18:40
@Ericson2314 Ericson2314 changed the base branch from master to develop April 7, 2022 19:01
@Ericson2314
Copy link
Member

Unfortunately now that #53 is merged, this has a lot of conflicts.

@cgibbard
Copy link
Contributor

cgibbard commented Apr 7, 2022

Well, #53 should also fix the issue (if it doesn't let me know of course)

@Ericson2314
Copy link
Member

Indeed it does. I rebase this just making it a rest. I suppose I can check whether that test is redundant, too.

@Ericson2314 Ericson2314 force-pushed the derive-higher-arity branch from 567e240 to 9844a02 Compare April 8, 2022 00:12
@Ericson2314
Copy link
Member

I think the test is legit.

@Ericson2314 Ericson2314 changed the title Allow higher-arity type constructors Test higher-arity type constructors Apr 8, 2022
@cgibbard
Copy link
Contributor

cgibbard commented Apr 8, 2022

Agreed, let's keep the test :)

@Ericson2314 Ericson2314 merged commit b1ddcdf into develop Apr 8, 2022
@Ericson2314 Ericson2314 deleted the derive-higher-arity branch April 8, 2022 00:31
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

Successfully merging this pull request may close these issues.

4 participants