rt
06/23/2020, 3:05 PMlenses
plugin in meta is commented out, not sure what the reason is. i've experimented with adding support for type parameters on case classes (wrt lenses):
usage https://github.com/tkroman/poptix/blob/master/poptix-gradle-plugin-test/src/main/kotlin/com/tkroman/poptix/PoptixExample.kt#L13
src https://github.com/tkroman/poptix/blob/master/poptix-gradle-plugin/src/main/kotlin/com/tkroman/poptix/PoptixTransformation.kt#L85
does this look like something useful for the mainline? i'm not really confident about the quality of implementation but would love to help out (with proper guidance) if you would accept this contributionrt
06/23/2020, 3:06 PMraulraja
06/23/2020, 3:10 PMrt
06/23/2020, 3:13 PMraulraja
06/23/2020, 3:14 PMraulraja
06/23/2020, 3:15 PMbloder
06/23/2020, 3:16 PMraulraja
06/23/2020, 3:17 PMrt
06/23/2020, 3:18 PMFoo<A>
, and then instantiate it for eg String
, I won't produce a lot of garbage (literal and figurative) on every call-siteraulraja
06/23/2020, 3:18 PMrt
06/23/2020, 3:21 PMraulraja
06/23/2020, 3:25 PM