Description
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.