hindent
« Back to VersTracker
Description:
Haskell pretty printer
Type: Formula  |  Tracked Since: Jan 11, 2026
Links: Homepage  |  GitHub  |  formulae.brew.sh
Stars: 575  |  Forks: 115  |  Language: Haskell  |  Category: Developer tools
Tags: haskell formatter code-style indentation developer-tool
Install: brew install hindent
About:
hindent is a Haskell source code formatter that automatically re-indents and restructures code according to a consistent style. It enforces a standard layout, improving code readability and reducing style debates in teams. Its primary value is providing an opinionated, automated tool for maintaining clean and uniform Haskell codebases.
Key Features:
  • Automatic code re-indentation and restructuring
  • Configurable style options for team conventions
  • Command-line interface for easy integration into workflows
  • Preserves original semantics while formatting
  • Supports a wide range of Haskell language extensions
Use Cases:
  • Enforcing a consistent code style across a Haskell project before commits
  • Automatically cleaning up and standardizing legacy or inconsistently formatted code
  • Integrating into CI/CD pipelines to ensure style compliance
Alternatives:
  • stylish-haskell – Focuses more on import sorting and simple formatting, while hindent is more opinionated on overall code structure.
  • brittany – Another popular formatter; often compared for differences in layout algorithms and configurability.
Version History
Detected Version Rev Change Commit
Jan 11, 2026 9:34am 0 META 73d3dbbe