An open API service indexing awesome lists of open source software.

https://github.com/purescript/purescript-control

Common control classes and utility functions
https://github.com/purescript/purescript-control

Last synced: 12 months ago
JSON representation

Common control classes and utility functions

Awesome Lists containing this project

README

          

# purescript-control

[![Latest release](http://img.shields.io/github/release/purescript/purescript-control.svg)](https://github.com/purescript/purescript-control/releases)
[![Build status](https://github.com/purescript/purescript-control/workflows/CI/badge.svg?branch=master)](https://github.com/purescript/purescript-control/actions?query=workflow%3ACI+branch%3Amaster)
[![Pursuit](https://pursuit.purescript.org/packages/purescript-control/badge)](https://pursuit.purescript.org/packages/purescript-control)

This library provides a range of utility functions for the classes in the `Functor`, `Applicative`, `Monad` hierarchy, along with additional classes such as `Alternative`, `MonadPlus`, `Comonad` and `Lazy`.

## Installation

```sh
spago install control
```

## Class hierarchy

![Class diagram](class-diagram.png)

## Documentation

Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-control).