encode-string

Safe string conversion and encoding

https://github.com/minad/encode-string#readme

Latest on Hackage:0.1.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed and maintained by Daniel Mendler

In modern Haskell many different string types are commonly used in combination with the OverloadedStrings extension. This small package provides means to convert safely between those. Currently, String, lazy and strict Text, lazy and strict ByteString, '[Word8]' and ShortByteString are supported.