hsmin: Haskell source code minifier for LLM token reduction
A Haskell source code minifier that uses ghc-lib-parser to parse Haskell source and produce a compact output with comments and whitespace stripped, layout converted to explicit brace syntax, and other size reductions. Useful for reducing LLM token usage when including Haskell source in prompts.
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| werror | Enable -Werror during development | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- hsmin-0.1.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.1.0 |
|---|---|
| Dependencies | base (>=4.16 && <5), ghc-lib-parser (>=9.12 && <9.14), hsmin, optparse-applicative (>=0.16 && <0.19) [details] |
| License | MIT |
| Author | Jappie Klooster |
| Maintainer | jappieklooster@hotmail.com |
| Uploaded | by Jappie at 2026-03-29T19:05:00Z |
| Category | Development |
| Source repo | head: git clone https://github.com/jappeace-sloth/haskell-minifier.git |
| Executables | hsmin |
| Downloads | 1 total (1 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2026-03-29 [all 1 reports] |