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

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

Type class and functions for working with newtypes
https://github.com/purescript/purescript-newtype

Last synced: about 1 month ago
JSON representation

Type class and functions for working with newtypes

Awesome Lists containing this project

README

          

# purescript-newtype

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

Type class and functions for working with `newtype`s.

Inspired by Haskell's [`newtype`](https://hackage.haskell.org/package/newtype) package and `Control.Lens.Wrapped` from the [`lens`](https://hackage.haskell.org/package/lens) package.

## Installation

```
spago install newtype
```

## Documentation

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