-
Notifications
You must be signed in to change notification settings - Fork 37
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
safecopy added dependency on generic-data which is only GHC >= 8.0 #73
Comments
I think adding the generic-data dependency may have been a mistake on my part. I'll check it out. |
At first glance generic-data does look like the best substitute for template Haskell. Its used to compute the number of constructors in a type and the index of a value's constructor. Syb is an alternative, but my understanding is that it is slower. |
base 4.9 puts template haskell at 2.13 I believe. |
🤔
|
There's no problem in depending on There's just quite a lot of cleanup to be made. e.g. there is #if !MIN_VERSION_base(4,8,0) or
in the code. EDIT: there seems to be |
I've pushed a patch to https://github.com/ddssff/safecopy and made a pull request. Please have a look! |
See https://matrix.hackage.haskell.org/#/package/generic-data
safecopy however says
which should be bumped to
>=4.9
Also there are conditionals like
which could be cleaned up
The text was updated successfully, but these errors were encountered: