Description
Converts between common Haskell textual types with safer rules than ad hoc conversion code. It helps avoid mistakes when moving data between Text, ByteString, String, and related representations.
It is useful in web services, parsers, command-line tools, tests, and libraries that receive text in one form and need it in another. Developers still need to choose the right encoding and handle invalid input deliberately.