Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/justinwoo/purescript-alphasucc

For those times when you want the alphabet for labeling things.
https://github.com/justinwoo/purescript-alphasucc

purescript

Last synced: about 2 months ago
JSON representation

For those times when you want the alphabet for labeling things.

Awesome Lists containing this project

README

        

# Purescript-AlphaSucc

[![Build Status](https://travis-ci.org/justinwoo/purescript-alphasucc.svg?branch=master)](https://travis-ci.org/justinwoo/purescript-alphasucc)

For those times when you want the alphabet for labeling things.

## Usage

```purs
alphaSucc :: forall a b. AlphaSucc a b => SProxy a -> SProxy b
alphaSucc _ = SProxy

testA :: Unit
testA =
let
expected = Proxy :: Proxy (SProxy "b")
actual = alphaSucc (SProxy :: SProxy "a")
in
expectInferred expected actual
```

See the [API Docs](https://pursuit.purescript.org/packages/purescript-alphasucc/) or the [tests](test/Main.purs) for usage.