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

https://github.com/mbj/source-constraints

GHC plugins to constrain the haskell source
https://github.com/mbj/source-constraints

Last synced: over 1 year ago
JSON representation

GHC plugins to constrain the haskell source

Awesome Lists containing this project

README

          

![CI](https://github.com/mbj/source-constraints/workflows/CI/badge.svg)

# source-constraints

An in progress GHC plugin to add constraints on the GHC AST.

## Installation

Add the following extra-dep to your `stack.yml`:

```yaml
extra-deps:
- git: ssh://git@github.com/mbj/source-constraints
commit: $use_current_commit_hash
```

Add the plugin to your `packages.yml`

```yaml
ghc-options:
- -fplugin=SourceConstraints
```