hackage.haskell.org : IORefCAS
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.
Registry
-
Source
- Homepage
- JSON
purl: pkg:hackage/IORefCAS
Keywords:
bsd3
, data
, deprecated
, library
, Propose Tags
License: BSD-3-Clause
Latest release: over 13 years ago
First release: over 13 years ago
Dependent repositories: 1
Downloads: 6,626 total
Stars: 109 on GitHub
Forks: 26 on GitHub
Total Commits: 522
Committers: 31
Average commits per author: 16.839
Development Distribution Score (DDS): 0.195
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 6 days ago