Migrate to generic lens?
@julm suggested https://github.com/mtamc/generic-lens-modern-setup.
I'm in favor, especially that this would remove the ordering errors which Template Haskell introduces sometimes.
I preliminarily tried to hack on this, but I got stuck on makePrisms
and how to deal with _Prism
in the Generic way? I found _Ctor @"SomeConstructor"
but it didn't compile for me.