How to get Text String #393
Labels
AST
Concerning the generated abstract syntax
builtin
Concerning built-in tokens like Integer, String etc.
enhancement
Haskell
token
Concerning token categories.
I turned on the new
--text-token
option – thank you for that, by the way! – butString
is the one thing still parsed into a HaskellString
([Char]
) rather thanText
and I have topack
it.I suspect my case for parsing tokens as
Text
isn't the most common (I'm feeding them into another library that takesText
), but I would think strings commonly should beText
since they're more likely to contain human language than tokens are.Could an option be added for
Text
strings? Perhaps separate from--text-token
for anyone who wantsText
strings but still wants bytestring tokens?The text was updated successfully, but these errors were encountered: