cvs commit: ports/devel Makefile ports/devel/hs-convertible-text
Makefile distinfo pkg-descr ports/lang/ghc bsd.hackage.mk
Gabor Pali
pgj at FreeBSD.org
Sat Feb 18 16:48:47 UTC 2012
pgj 2012-02-18 16:48:46 UTC
FreeBSD ports repository
Modified files:
devel Makefile
lang/ghc bsd.hackage.mk
Added files:
devel/hs-convertible-text Makefile distinfo pkg-descr
Log:
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.
WWW: http://github.com/snoyberg/convertible/tree/text
Obtained from: FreeBSD Haskell
Revision Changes Path
1.4854 +1 -0 ports/devel/Makefile
1.1 +20 -0 ports/devel/hs-convertible-text/Makefile (new)
1.1 +2 -0 ports/devel/hs-convertible-text/distinfo (new)
1.1 +17 -0 ports/devel/hs-convertible-text/pkg-descr (new)
1.134 +2 -1 ports/lang/ghc/bsd.hackage.mk
More information about the cvs-ports
mailing list