If I have a newtype
newtype
newtype Foo = Foo Int
is there an automatic way to get an Iso' Foo Int?
Iso' Foo Int
I saw I could use makeLenses ''Foo, but I don't know what is the name of the generated iso.
makeLenses ''Foo
coerced :: (Coercible s a, Coercible t b) => Iso s t a b