aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ghc
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-06-04 02:52:54 +0800
committerGabor Pali <pgj@FreeBSD.org>2012-06-04 02:52:54 +0800
commit41b131d97eb4fd7820b259f1460b191d46250fc4 (patch)
tree0bf0722aa6ac4febe45f9b6450905f517392bbea /lang/ghc
parent41991156ca3e079d5a4d23c2e53e4fc808d894a2 (diff)
downloadfreebsd-ports-gnome-41b131d97eb4fd7820b259f1460b191d46250fc4.tar.gz
freebsd-ports-gnome-41b131d97eb4fd7820b259f1460b191d46250fc4.tar.zst
freebsd-ports-gnome-41b131d97eb4fd7820b259f1460b191d46250fc4.zip
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
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/bsd.hackage.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index 2526e086b3ab..730a8cefd917 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -154,6 +154,7 @@ hxt_port= textproc/hs-hxt
hxt-charproperties_port= textproc/hs-hxt-charproperties
hxt-regex-xmlschema_port= textproc/hs-hxt-regex-xmlschema
hxt-unicode_port= textproc/hs-hxt-unicode
+IORefCAS_port= devel/hs-IORefCAS
json_port= converters/hs-json
language-c_port= devel/hs-language-c
largeword_port= devel/hs-largeword