chshersh/ghc-plugin-non-empty

🧬 GHC Plugin for compile-time transformation of list literals to NonEmpty list

Haskellpluginhaskellcompile-timeghc
This is stars and forks stats for /chshersh/ghc-plugin-non-empty repository. As of 11 May, 2024 this repository has 26 stars and 3 forks.

ghc-plugin-non-empty GHC Compiler Plugin for automatically converting list literals to the NonEmpty type from the Data.List.NonEmpty module in base. This plugin checks statically defined list literals and transforms them into NonEmpty lists during compile time. In other words, it provides compile-time guarantees for non-emptiness checks and allows the following expression to type-check: portsToListen :: NonEmpty Int portsToListen = [8000, 8080, 8081] Compare to usage without the plugin: portsToListen...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
obsidiansystems/cli-extrasHaskellNix4010
change-metrics/monocleHaskellReScriptJavaScript3000510
evincarofautumn/kittenHaskellCOther1k+241+1
ocharles/libsystemd-journalHaskellNix210140
DmitryTsepelev/fakerHaskell46040
GaloisInc/what4Haskell1390110
nodew/stargaze-cliHaskellNix19010
EmaApps/emanoteHaskellHTMLNix6610600
skywind3000/z.luaLuaPythonShell2.8k+61440
fabiomadge/PrimzahlenHaskellJava0000