Open poscat0x04 opened 4 years ago
The reason for this is because when I started developing Ginger, Parsec didn't accept Text
as its input yet. I agree that Text
would be the correct choice here, and I have a patch ready in the string-to-text
branch, but I'm mildly undecided about how to handle the resulting breaking change. Options:
Text
instead of String
as well)Text
-based API, and provide a compatibility shim for String
I'll give this some more thought, any input on the matter is welcome.
Personally, I'm +1 on hard breakage, forgetting String
altogether and a major version bump with a clear note in the changelog.
String
is not fast nor memory efficient,Text
is better in almost every case.