[Haskell] Read Instances for Data.Map and Data.Set

Tomasz Zielonka tomasz.zielonka at gmail.com
Mon Oct 24 09:00:57 EDT 2005


On 10/24/05, Tomasz Zielonka <tomasz.zielonka at gmail.com> wrote:
> Perhaps rootLabel and subForest could be ordinary functions (but
> this could break someones code), or we could use a hand-written Show
> instance, showing without labels and reading both versions?

Wouldn't it be nice if derived Show for data-types with labeled fields
accepted both labeled and un-labeled representations? Would this
break standard conformance?

Best regards
Tomasz


More information about the Libraries mailing list