Module
Resource.Unsafe
- Package
- purescript-resource
- Repository
- joneshf/purescript-resource
Implementation of the bracket/handler/resource pattern
This module provides the underlying implementation of the pattern. It is possible to leak resources if you know some tricks about how to do it. Use these values with caution.
#Resource Source
newtype Resource a
The abstraction over safe resource management.
Any values embeded in this data type will be safely acquired before use, and released after they're done being used. Will also release the resources in the face of exceptions.
Constructors
Instances
Applicative Resource
Apply Resource
Bind Resource
(BooleanAlgebra a) => BooleanAlgebra (Resource a)
Functor Resource
(HeytingAlgebra a) => HeytingAlgebra (Resource a)
Monad Resource
MonadAff Resource
MonadEffect Resource
(Monoid a) => Monoid (Resource a)
(Semigroup a) => Semigroup (Resource a)
(Semiring a) => Semiring (Resource a)
- Modules
- Codensity
- Ran
- Resource
- Resource.
Unsafe