diff options
author | pgj <pgj@FreeBSD.org> | 2012-02-19 00:48:46 +0800 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2012-02-19 00:48:46 +0800 |
commit | 8ceed6f1ed4ae53f1f83526d9b7762ef1d486daf (patch) | |
tree | c8b4762efc58fb2731ad57aa73c5974f114ff40f /lang | |
parent | 7ed695f985f35d3d26b1afdde3d247b1fa9e5f8e (diff) | |
download | freebsd-ports-gnome-8ceed6f1ed4ae53f1f83526d9b7762ef1d486daf.tar.gz freebsd-ports-gnome-8ceed6f1ed4ae53f1f83526d9b7762ef1d486daf.tar.zst freebsd-ports-gnome-8ceed6f1ed4ae53f1f83526d9b7762ef1d486daf.zip |
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
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ghc/bsd.hackage.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk index 183f30a13572..36e4ffa323e7 100644 --- a/lang/ghc/bsd.hackage.mk +++ b/lang/ghc/bsd.hackage.mk @@ -58,6 +58,7 @@ configurator_port= devel/hs-configurator contravariant_port= math/hs-contravariant control-monad-attempt_port= devel/hs-control-monad-attempt convertible_port= devel/hs-convertible +convertible-text_port= devel/hs-convertible-text cpphs_port= devel/hs-cpphs # executable cprng-aes_port= security/hs-cprng-aes criterion_port= benchmarks/hs-criterion |