We wanted to save code when implementing this, so type inference uses reflection to transform data structures. It takes 85% of the 60-70s it now takes to generate code.
This is used to emulate shapeless's everywhere, which doesn't work inside cakes.
The main culprit is the call from onTypes to mapSubtrees.
We wanted to save code when implementing this, so type inference uses reflection to transform data structures. It takes 85% of the 60-70s it now takes to generate code.
This is used to emulate shapeless's
everywhere
, which doesn't work inside cakes.The main culprit is the call from
onTypes
tomapSubtrees
.