-
Notifications
You must be signed in to change notification settings - Fork 22
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
Generic style to/from for ADTS #84
Comments
Related proof of concept #53 |
Another proof of concept: https://gitlab.com/fommil/scalaz-deriving/blob/master/scalaz-deriving/src/main/scala/scalaz/IotaMacros.scala My macros are blackbox, not whitebox, which I think is very useful. Then all is needed is a whitebox wrapper around this which can create the |
I'll probably rewrite my macros to support |
Do you want to add any of this directly to Iota? |
oh yes, definitely. But it's much faster for me to have it in |
This exists btw, if anybody wants it I'd be happy to contribute it but I don't have the time to refactor it and raise a PR. |
like in shapeless it would be great to have a way of automatically going to and from a Prod for case classes and case objects, and to/from Cop for sealed traits.
In addition, it would be great to have specialised equivalents for tuples and scalaz disjunctions.
The text was updated successfully, but these errors were encountered: