| 1 |
module MCMC.Moves.Context where |
| 2 |
|
| 3 |
import MCMC.Types |
| 4 |
|
| 5 |
foreign import bpcall "MCMC:" copyContext :: ContextIndex -> IO ContextIndex |
| 6 |
|
| 7 |
foreign import bpcall "MCMC:" releaseContext :: ContextIndex -> IO () |
| 8 |
|
| 9 |
foreign import bpcall "MCMC:" switchToContext :: ContextIndex -> ContextIndex -> IO () |
| 10 |
|
| 11 |
foreign import bpcall "MCMC:" getAtomicModifiableValueInContext :: Modifiable a -> ContextIndex -> IO a |
| 12 |
|
| 13 |
foreign import bpcall "MCMC:" setAtomicModifiableValueInContext :: Modifiable a -> a -> ContextIndex -> IO () |
| 14 |
|