dev-haskell/io-string-like (haskell)

Search

Package Information

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.
Homepage:
https://github.com/clintonmead/io-string-like#readme
License:
BSD

Versions

Version EAPI Keywords Slot
0.1.0.1 8 ~amd64 0/0.1.0.1

Metadata

Description

Maintainers

Raw Metadata XML
<pkgmetadata>
	<maintainer type="project">
		<email>haskell@gentoo.org</email>
		<name>Gentoo Haskell</name>
	</maintainer>
	<longdescription>
		The functions in the Prelude such as &quot;getContents&quot;, &quot;putStr&quot; only work for plain Strings.
		
		There are similar functions in &quot;ByteString&quot; for reading and writing, as well as \&quot;Text\&quot;.
		
		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 &quot;getContents&quot;, &quot;putStr&quot; over multiple datatypes, so implementations can be changed easily.
		
		All the code documentation is in &quot;System.IO.StringLike.Impl&quot;.
		
		All the other modules are just re-exports.
	</longdescription>
</pkgmetadata>

Lint Warnings

Manifest

Type File Size Versions
DIST io-string-like-0.1.0.1.tar.gz 4778 bytes 0.1.0.1
Unmatched Entries
Type File Size