@hackage / hsmin

Haskell source code minifier for LLM token reduction

Latest0.1.0

About

Metadata

  • Last updated , by Jappie
  • License MIT
  • Categories Development
  • Maintained by: jappieklooster@hotmail.com

  • Lottery factor: 1

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    werror (off by default)

    Enable -Werror during development

Readme

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.