to-string-class: Converting string-like types to Strings.
Deprecated
This library provides the class:
class ToString s where toString :: s -> String
Instances for String, Char and ShowS are provided. For other instances see the package:
http://hackage.haskell.org/package/to-string-instances
Also included is a general coercion function between string-like types:
fromToString :: (IsString s2, ToString s1) => s1 -> s2
fromToString = fromString . toString
Downloads
- to-string-class-0.1.2.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'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.1.1, 0.1.2 |
---|---|
Dependencies | base (>=4 && <4.4) [details] |
License | BSD-3-Clause |
Copyright | 2009 Bas van Dijk <v.dijk.bas@gmail.com> |
Author | Bas van Dijk <v.dijk.bas@gmail.com> |
Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
Revised | Revision 1 made by HerbertValerioRiedel at 2019-02-18T08:51:13Z |
Category | Data |
Source repo | head: darcs get http://code.haskell.org/~basvandijk/code/to-string-class/ |
Uploaded | by BasVanDijk at 2009-09-22T20:18:43Z |
Distributions | |
Reverse Dependencies | 5 direct, 25 indirect [details] |
Downloads | 2814 total (14 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |