cvs commit: ports/devel/hs-IORefCAS Makefile distinfo pkg-descr ports/lang/ghc bsd.hackage.mk

Gabor Pali pgj at FreeBSD.org
Sun Jun 3 18:52:54 UTC 2012


pgj         2012-06-03 18:52:54 UTC

  FreeBSD ports repository

  Modified files:
    lang/ghc             bsd.hackage.mk 
  Added files:
    devel/hs-IORefCAS    Makefile distinfo pkg-descr 
  Log:
  After GHC 7.2 a new `casMutVar#` primop became available, but was not yet
  exposed in Data.IORef. This package fills that gap until such a time as
  Data.IORef obsoletes it. Further, in addition to exposing native Haskell
  CAS operations, this package contains "mockups" that imititate the same
  functionality using either atomicModifyIORef and unsafe pointer equality
  (in Data.CAS.Fake) or using foreign functions (Data.CAS.Foreign).
  These alternatives are useful for debugging. Note that the foreign option
  does not operate on IORefs and so is directly interchangeable with `Data.CAS`
  and `Data.CAS.Fake` only if the interface in `Data.CAS.Class` is used.
  
  WWW:    http://hackage.haskell.org/package/IORefCAS
  
  Obtained from:  FreeBSD Haskell
  
  Revision  Changes    Path
  1.1       +22 -0     ports/devel/hs-IORefCAS/Makefile (new)
  1.1       +2 -0      ports/devel/hs-IORefCAS/distinfo (new)
  1.1       +11 -0     ports/devel/hs-IORefCAS/pkg-descr (new)
  1.169     +2 -1      ports/lang/ghc/bsd.hackage.mk


More information about the cvs-ports mailing list