Moduleresourcet-1.3.0
Data.Acquire.Internal
Synopsis
- value mkAcquire
- value mkAcquireType
- value with
- newtype Acquire
- data Allocated
- data ReleaseType
- pattern ReleaseException
- Packageresourcet-1.3.0
- Exports7
- LicenceBSD-3-Clause
Instances4Monad, Functor, Applicative, MonadIO
Constructors
Allocated !a !(ReleaseType -> IO ())
Instances1Show
Show ReleaseTypeDefined in resourcet-1.3.0 · Data.Acquire.Internal
Deprecated. Use ReleaseExceptionWith, which has the exception in the constructor. This pattern synonym hides the exception and can obscure problems.