Skip to content

Conversation

@SamProtas
Copy link
Contributor

I came across a situation in which I'd like to derive Data for my custom type that I'm using with optparse-generic. I found the helper types for annotating fields prevented me from doing so due to these missing Data instances.

I believe DeriveDataTypeable has been around since GHC 6.8.1, so adding these instances should not exclude any current users of the library, while providing this extra functionality.

https://downloads.haskell.org/~ghc/8.10.3/docs/html/users_guide/glasgow_exts.html#extension-DeriveDataTypeable

@Gabriella439 Gabriella439 merged commit fe01993 into Gabriella439:main Oct 19, 2021
@Gabriella439
Copy link
Owner

Great idea! Thank you 🙂

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.

2 participants