Bug 142501 - [new port]: haskell port devel/hs-convertible
Summary: [new port]: haskell port devel/hs-convertible
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-haskell (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-08 22:30 UTC by Jacula Modyun
Modified: 2010-01-12 23:53 UTC (History)
0 users

See Also:


Attachments
hs-convertible.shar (5.36 KB, text/plain)
2010-01-08 22:30 UTC, Jacula Modyun
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacula Modyun 2010-01-08 22:30:04 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-01-08 22:30:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->haskell

haskell@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-01-12 22:06:59 UTC
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"
Comment 3 Gabor Pali freebsd_committer freebsd_triage 2010-01-12 23:50:21 UTC
State Changed
From-To: open->closed

Your port has been added to the tree.  Thank you for your submission!