string-fromto: Conversions between common string types, as well as Base16/Base32/Base64.
Have you ever found yourself frustrated that you're spending 15-30% of your
time in Haskell converting between string types, remembering which module has
toStrict function, importing Data.Text.Encoding and
Data.Text.Lazy.Encoding qualified, spending time thinking about how to do
Base64 encoding, etc.? Or tried to use one of the (excellent) typeclass-based
string conversion libraries, only to find yourself adding awkward type
signatures to avoid type-inferencing ambiguities?
This package exports a collection of functions that follow a simple pattern:
stringTypeAToStringTypeB :: a -> b
This way, if you import
Data.String.FromTo unqualified, or as part of
your Prelude, all you have to think about is which type you want to convert
into which other type.
For convenience, this package also exposes conversions between Base16, Base32, and Base64-encoded strings.
[Skip to Readme]
[Index] [Quick Jump]
- string-fromto-184.108.40.206.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
For package maintainers and hackage trustees
|Dependencies||base (>=220.127.116.11 && <5), bytestring (>=0.10.4.0 && <0.11), memory (>=0.8 && <0.18), text (>=0.1 && <1.3) [details]|
|Copyright||2018-2019 Clovyr LLC|
|Revised||Revision 1 made by patrick at 2022-07-31T20:52:32Z|
|Source repo||head: git clone https://github.com/clovyr/string-fromto|
|Uploaded||by patrick at 2019-09-30T17:29:07Z|
|Downloads||497 total (2 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
|Status||Docs uploaded by user
Build status unknown [no reports yet]