Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Provides a synchronized stack for use in the STM monad
See also Control.Concurrent.Stack
Documentation
stackPeek :: Stack a -> STM a Source #
Pop most recently added item without removing from the Stack
Automatically retries if stack is empty
stackTryPeek :: Stack a -> STM (Maybe a) Source #
Pop most recently added item without removing from the Stack