Creating lenses with DuplicateRecordFields

Published: 18/10/2019
Creating lenses with DuplicateRecordFields
Source: STACKOVERFLOW.COM

How would you go about generating lenses with the new DuplicateRecordFields enabled? I've already tried using makeLenses , but nothing was generated at all . I also tried importing my constructors with a qualifier to prevent name clashes between fields and lenses, but that didn't help either. Are there some unresolved issues with template-haskell as it pertains to this new extension (I found a t

Read more
Related news
Comment
FACEBOOK