The to-string-class package

[ Tags: bsd3, data, deprecated, library ] [ Propose Tags ]
Deprecated.

This library provides the class:

class ToString s where toString :: s -> String

Instances for String and Char 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

Properties

Versions 0.1, 0.1.1, 0.1.2
Dependencies base (==4.*) [details]
License BSD3
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>
Category Data
Source repository head: darcs get http://code.haskell.org/~basvandijk/code/to-string-class/
Uploaded Sun Sep 13 19:31:35 UTC 2009 by BasVanDijk
Distributions NixOS:0.1.2
Downloads 879 total (65 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees