Closed romanofski closed 5 years ago
@romanofski never mind the faily test (GHC 8.8 failed; I'll add it to allowed-failures in a separate commit). But can we have test(s) for this new function?
Will add. Overall you think the addition makes sense?
Yeah it's fine with me.
I re-used the simple test fixture. Hope that is acceptable. There is enough information to write some QuickCheck round tripping tests, but I thought I leave that for another day.
This is a needed for round tripping mails in purebred: when editing mails as new, we want to populate the editor fields with header values. Using a combination of header* lenses with rendering the given addresses populates the fields without re-implementing those functions on the purebred side.