emilaxelsson / syntactic

Generic representation and manipulation of abstract syntax
BSD 3-Clause "New" or "Revised" License
25 stars 13 forks source link

patched some TH errors #38

Closed Rewbert closed 3 years ago

Rewbert commented 3 years ago

I encountered these errors while trying to compile with GHC version 8.10, and patched them like this. Now the package builds as expected.

I have not used the preprocessor before so I am unsure of how to make sure that users with older versions of GHC can still run the code. Does anyone have any suggestions?

emilaxelsson commented 3 years ago

Thank you for the report! I've fixed it in a way that also works for older GHCs. The new version is on Hackage.