Generalize makeEffect to work with more complicated GADTs #17
Instead of descending down into the types in the constructor looking for free variables (I have a branch that does this) I think it is cleaner to simply reuse the preexisting contexts from the GADT constructor. Thus, if the variable quantification and contexts were correct in the constructor, they should still be correct for the generator function (I think).
I bumped the version, but I don't know if I bumped the right number.
I added a complex GADT, and I run makeEffect on it inside the test file, but it is not part of a test case per se. Do you have any idea how to create a Testy test case for a TH splice like this? Or is simply compiling the test file with the splice in it good enough?