BSD-3-Clause licensed by Ozgun Ataman
Maintained by [email protected]
This version can be pinned in stack with:string-conv-0.2.0@sha256:5aaa21ad20be79ec6fedcc6f45ef2d34b32797da8715e48d803ac467059b7333,2119

Module documentation for 0.2.0

Depends on 3 packages(full list with versions):
Used by 1 package in lts-20.11(full list with versions):

string-conv

A type class to standardize string conversions. With this type class you only need to remember one function for converting between any two string variants. This package includes support for String, ByteString, and Text as well as the Lazy and Strict variants where necessary.

StringConv’s toS function is most useful when you have a fully defined string conversion with a fixed (non-polymorphic) input and output type. Of course you can still use it when you don’t have a fixed type. In that case you might need to specify a type class constraint such as StringConv s String.

Changes

0.2.0

  • Don’t set optimization flag for library
  • Add property tests and fix to make String <-> ByteString conversion safer PR 6.
  • Add lib-Werror flag for development

0.1.1

  • Fixed bug where decoding text from bytestrings would always decode leniently, even if Strict was used.

0.1

  • Initial release