optics-dev / Monocly

Optics experimentation for Dotty
MIT License
32 stars 5 forks source link

WIP: Adding macros #9

Closed yilinwei closed 4 years ago

yilinwei commented 4 years ago

Fixes #2.

Still doing a bit of experimentation, but this is the complete implementation of the GenLens macro with nice error messages.

There seems to be a bug in dotty where generic case classes don't have copy where it's expected.

julien-truffaut commented 4 years ago

You are on fire. Thanks @yilinwei