Skip to content

Conversation

@ekmett
Copy link
Member

@ekmett ekmett commented Apr 3, 2014

The motivation for the mkNoRepType Data instance for Text appears to have been to follow the idiom established by Data.Map and Data.Set for dealing with encapsulation.

We changed the behavior of those types to allow gunfold by the use of a "virtual" constructor back in 2012.

http://markmail.org/message/trovdc6zkphyi3cr#query:+page:1+mid:a46der3iacwjcf6n+state:results

This patch would allow the same behavior to work for Text, and just silently improve the experience of generic programmers across the board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants