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
- Host: GitHub
- URL: https://github.com/purescript/purescript-newtype
- Owner: purescript
- License: bsd-3-clause
- Created: 2016-09-06T14:09:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-09-03T23:04:56.000Z (over 3 years ago)
- Last Synced: 2024-10-29T21:05:42.000Z (over 1 year ago)
- Language: PureScript
- Homepage:
- Size: 32.2 KB
- Stars: 15
- Watchers: 6
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# purescript-newtype
[](https://github.com/purescript/purescript-newtype/releases)
[](https://github.com/purescript/purescript-newtype/actions?query=workflow%3ACI+branch%3Amaster)
[](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).