aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-06-04 02:52:54 +0800
committerpgj <pgj@FreeBSD.org>2012-06-04 02:52:54 +0800
commit63b7bb8a97ca5017d27fa777ff843f188ce7b0e1 (patch)
tree4d1bd198984558966c45417c2b64bba1c19de024 /lang
parente25899c352079cc0db30be28aa0420ad3c98e851 (diff)
downloadfreebsd-ports-gnome-63b7bb8a97ca5017d27fa777ff843f188ce7b0e1.tar.gz
freebsd-ports-gnome-63b7bb8a97ca5017d27fa777ff843f188ce7b0e1.tar.zst
freebsd-ports-gnome-63b7bb8a97ca5017d27fa777ff843f188ce7b0e1.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')
-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