convertible provides a typeclass with a single function that is designed to help convert between different types: numeric values, dates and times, and the like. The conversions perform bounds checking and return a pure Either value. This means that you need not remember which specific function performs the conversion you desire. Also included in the package are optional instances that provide conversion for various numeric and time types, as well as utilities for writing your own instances. Finally, there is a function that will raise an exception on bounds-checking violation, or return a bare value otherwise, implemented in terms of the safer function described above. http://hackage.haskell.org/package/convertible
Responsible Changed From-To: freebsd-ports-bugs->haskell haskell@ wants this port PRs (via the GNATS Auto Assign Tool)
pgj 2010-01-12 22:06:50 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/hs-convertible Makefile distinfo pkg-descr pkg-plist Log: The "convertible" Haskell package provides a typeclass with a single function that is designed to help convert between different types: numeric values, dates and times, and the like. WWW: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/convertible PR: ports/142501 Submitted by: Jacula Modyun <jacula(at)gmail.com> Revision Changes Path 1.3771 +1 -0 ports/devel/Makefile 1.1 +75 -0 ports/devel/hs-convertible/Makefile (new) 1.1 +3 -0 ports/devel/hs-convertible/distinfo (new) 1.1 +17 -0 ports/devel/hs-convertible/pkg-descr (new) 1.1 +23 -0 ports/devel/hs-convertible/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Your port has been added to the tree. Thank you for your submission!