./wip/hs-convertible-text, Typeclasses and instances for converting between types

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.4.0.1, Package name: hs-convertible-text-0.4.0.1, Maintainer: pho

This is a port of John Goerzen's convertible package, intended to
distinguish between conversions which are guaranteed to succeed and
those which might fail. It uses the attempt package, which in turn
uses the failure package, so that this package is fully compatible
with the failure framework.

This package currently contains all of the typeclasses and instances
for convertible. However, as these features are ported to the
convertible package, this package will be left with only the instances
for converting to and from text types (String, ByteString (lazy and
strict) and Text (lazy and strict).

Be aware that conversions to and from bytestrings assume UTF-8
encoding. If a different encoding is desired, you can use a newtype
wrapper and declare an instance of ConvertAttempt or ConvertSuccess on
it.

The main module to import is Data.Convertible.Text.


Required to run:
[wip/ghc] [devel/hs-text]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 929f003d044f3e88befd09ca52e7f48aeb415764
RMD160: 5d37ebf1ec4c65e429dde4c1d49fec986ac04e86
Filesize: 14.012 KB

Version history: (Expand)


CVS history: (Expand)


   2014-08-29 16:09:59 by Ryosuke Moro | Files touched by this commit (104)
Log message:
make it clear what package depend on

discussed with wiz@.
   2014-05-18 23:33:25 by Ryosuke Moro | Files touched by this commit (119)
Log message:
Remove hs-data-default-class, hs-dlist, hs-text, hs-utf8-string,
imported to pkgsrc/devel.
   2012-01-16 06:56:00 by PHO / phonohawk | Files touched by this commit (2) | Package updated
Log message:
Upstream update to convertible-text-0.4.0.1

   2011-12-05 05:57:58 by PHO / phonohawk | Files touched by this commit (3) | Package updated
Log message:
Upstream update to convertible-text-0.4.0

   2011-12-02 07:26:41 by PHO / phonohawk | Files touched by this commit (5) | Imported package
Log message:
Import hs-convertible-text-0.3.0.10 as wip/hs-convertible-text.

This is a port of John Goerzen's convertible package, intended to
distinguish between conversions which are guaranteed to succeed and
those which might fail. It uses the attempt package, which in turn
uses the failure package, so that this package is fully compatible
with the failure framework.

This package currently contains all of the typeclasses and instances
for convertible. However, as these features are ported to the
convertible package, this package will be left with only the instances
for converting to and from text types (String, ByteString (lazy and
strict) and Text (lazy and strict).

Be aware that conversions to and from bytestrings assume UTF-8
encoding. If a different encoding is desired, you can use a newtype
wrapper and declare an instance of ConvertAttempt or ConvertSuccess on
it.

The main module to import is Data.Convertible.Text.