Replies: 1 comment
-
More missing methods: medeia/medeia#259 We're definitely missing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I couldn’t find a way to derive instances of the following typeclass. I would like to know if this is intended by design, or if you think there is something missing in the library to support my use case.
Consider the typeclass
Record
, defined as follows:We can use it like so to manually create an instance of a data type
User
:I would like to automate the derivation process: for every field
t: T
of a case class, I want to callfield[T]("t")
, and then I want to combine the records together with thezip
method, and finally I want to transform them to a case class withxmap
.I wrote the following, but I am stuck:
It seems that none of the methods on
K0.ProductInstances
would work for me.Beta Was this translation helpful? Give feedback.
All reactions