The string-conv package

[ Tags: bsd3, data, library, string, text ] [ Propose Tags ]

Avoids the need to remember many different functions for converting string types. Just use one universal function toS for all monomorphic string conversions.


[Skip to Readme]

Properties

Versions 0.1, 0.1.1, 0.1.2
Change log changelog.md
Dependencies base (>=4.4 && <5), bytestring, text [details]
License BSD3
Copyright Soostone Inc, 2012-2015
Author Ozgun Ataman
Maintainer ozgun.ataman@soostone.com
Category Data, String, Text
Home page https://github.com/Soostone/string-conv
Bug tracker https://github.com/Soostone/string-conv/issues
Source repository head: git clone https://github.com/Soostone/string-conv.git
Uploaded Wed Jun 22 23:17:13 UTC 2016 by MichaelXavier
Distributions LTSHaskell:0.1.2, NixOS:0.1.2, Stackage:0.1.2, Tumbleweed:0.1.2
Downloads 1201 total (198 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
lib-werrorDisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for string-conv-0.1.2

[back to package description]

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.