The latest version of io-string-like is 0.1.0.1-2.

io-string-like

Version 0.1.0.0 revision 1 uploaded by HerbertValerioRiedel.

Package meta

Synopsis
Classes to handle Prelude style IO functions for different datatypes
Description

The functions in the Prelude such as "getContents", "putStr" only work for plain Strings.

There are similar functions in ByteString for reading and writing, as well as Text.

This requires one to import the appropriate functions, usually qualified, for the particular datatype one is using. Changing the datatype at the very least involves changing import statements across your program.

The package introduces classes to overload functions like "getContents", "putStr" over multiple datatypes, so implementations can be changed easily.

All the code documentation is in System.IO.StringLike.Impl.

All the other modules are just re-exports.

Author
Clinton Mead
Bug reports
https://github.com/clintonmead/io-string-like/issues
Category
Data
Copyright
Copyright: (c) 2018 Clinton Mead
Homepage
https://github.com/clintonmead/io-string-like#readme
Maintainer
clintonmead@gmail.com
Package URL
n/a
Stability
n/a

Components