Open tonymorris opened 9 years ago
Although there exists Iso' Text String, this is not a true isomorphism. Consequently, similar optics in Text1 exhibit issues.
Iso' Text String
Text1
From the documentation for Data.Text:
Data.Text
a Text cannot contain values in the range U+D800 to U+DFFF inclusive
? Perhaps justifiable as "improper isomorphisms"
Seems a bit blasé. Tips?
So it's only partial in one direction? If you're not happy with "improper isomorphism", it sounds like Prism is the answer.
Although there exists
Iso' Text String
, this is not a true isomorphism. Consequently, similar optics inText1
exhibit issues.From the documentation for
Data.Text
: