Safe Haskell | Unsafe |
---|---|
Language | Haskell2010 |
Documentation
An Promise
can be fulfilled multiple times, but must be always be fulfilled with the same answer.
unsafeWritePromise :: MonadPar d i s m => Promise s a -> a -> m () Source
Like writePromise
but assumes (without checking) that the write is always consistent.