ghc-plugin-non-empty: GHC Plugin for non-empty lists
GHC Plugin for compile-time transformation of list literals to NonEmpty lists.
{-# OPTIONS_GHC -fplugin=GhcPluginNonEmpty #-}
import Data.List.NonEmpty (NonEmpty)
portsToListen :: NonEmpty Int
portsToListen = [8000, 8080, 8081]
See README.md for more details.
[Skip to Readme]
Downloads
- ghc-plugin-non-empty-0.0.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.0.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.16 && <4.17), ghc (>=9.2 && <9.3), syb (>=0.7 && <0.8) [details] |
| Tested with | ghc ==9.2.3 |
| License | MPL-2.0 |
| Copyright | 2022 Dmitrii Kovanikov |
| Author | Dmitrii Kovanikov |
| Maintainer | Dmitrii Kovanikov <kovanikov@gmail.com> |
| Category | GHC, Compiler Plugin |
| Home page | https://github.com/chshersh/ghc-plugin-non-empty |
| Bug tracker | https://github.com/chshersh/ghc-plugin-non-empty/issues |
| Source repo | head: git clone https://github.com/chshersh/ghc-plugin-non-empty.git |
| Uploaded | by shersh at 2022-07-17T15:23:36Z |
| Distributions | |
| Downloads | 116 total (1 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user [build log] All reported builds failed as of 2022-07-17 [all 2 reports] |