The field name changed to _internalName to only be visible inside the module and should not be exported.
The name readonly lens was created to mimic the old name lens
name
2EXXDOPY6DLMH4Z6YU5T4BSUSIS3NGQY5VCFXFWWJ4PF263ZHEVAC
A5WEQR35VYRX4XL5DWHFJPW3BGMIHIWFNCKG767LLNPMOIJ557MQC
P2KQ6PRM6HH2NQFXCTQIMGTAKXIG6BQ32IBYTKBSP4NWTZ4JLGGAC
SNYOEZI7JMTLJNLM2YTAHBPJEKK2BJZJDOHRIX5676JCF2VNET3QC
C3BUGSBWBKOXFFB6TIHDLQVFV65OKKW6KEUVMP4O2XP3RYMPJ5QAC
{ _name :: !CardName
{ _internalName :: !CardName
name :: Getter Card NonEmptyTextname = to (^. internalName)
name :: Getter Card NonEmptyText
name = to (^. internalName)
in Card {_name = cardName, _categories = Map.singleton categoryName copies}
in Card {_internalName = cardName, _categories = Map.singleton categoryName copies}