2022-03-15 14:55:25 +00:00
|
|
|
# purescript-unlift
|
|
|
|
|
2022-03-16 20:15:17 +00:00
|
|
|
[![Latest release](http://img.shields.io/github/release/tweag/purescript-unlift.svg)](https://github.com/tweag/purescript-unlift/releases)
|
|
|
|
[![Build status](https://github.com/tweag/purescript-unlift/workflows/CI/badge.svg?branch=main)](https://github.com/tweag/purescript-unlift/actions?query=workflow%3ACI+branch%3Amain)
|
2022-03-15 16:47:52 +00:00
|
|
|
[![Pursuit](https://pursuit.purescript.org/packages/purescript-unlift/badge)](https://pursuit.purescript.org/packages/purescript-unlift)
|
|
|
|
|
2022-03-16 14:57:27 +00:00
|
|
|
Classes that allow stateless monads to be "unlifted" into a base monad.
|
|
|
|
|
|
|
|
- `MonadUnliftEffect`: Run any compatible monad in `Effect`
|
|
|
|
- `MonadUnliftAff`: Run any compatible monad in `Aff`
|
|
|
|
- `MonadUnlift`: Run any compatible monad in any base monad.
|
|
|
|
|
|
|
|
Based on:
|
2022-03-15 16:47:52 +00:00
|
|
|
|
|
|
|
- [unliftio](http://hackage.haskell.org/package/unliftio)
|
|
|
|
- [unlift](http://hackage.haskell.org/package/unlift)
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
```
|
|
|
|
spago install unlift
|
|
|
|
```
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
|
|
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-unlift).
|