🍺 BREW Explorer

← all formulae

hindent

brew install hindent v6.3.0 BSD-3-Clause

Haskell pretty printer

1
30-day installs · #17498
5
90-day · #14729
58
365-day · #10640
582
★ GitHub stars · updated 2mo ago

Runtime dependencies

gmp

Build dependencies

GitHub topics

code-formatter hacktoberfest haskell

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "cabal-install",
    "ghc@9.12"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "gmp"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Haskell pretty printer",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:39+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "hindent",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-15T12:30:54Z",
  "github_readme_excerpt": "# hindent [![Hackage](https://img.shields.io/hackage/v/hindent.svg?style=flat)](https://hackage.haskell.org/package/hindent) [![Haskell Cabal](https://github.com/mihaimaruseac/hindent/actions/workflows/presubmit-cabal.yaml/badge.svg)](https://github.com/mihaimaruseac/hindent/actions/workflows/presubmit-cabal.yaml) [![Haskell Stack](https://github.com/mihaimaruseac/hindent/actions/workflows/presubmit-stack.yaml/badge.svg)](https://github.com/mihaimaruseac/hindent/actions/workflows/presubmit-stack.yaml) [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/mihaimaruseac/hindent/badge)](https://api.securityscorecards.dev/projects/github.com/mihaimaruseac/hindent)\n\nHaskell pretty printer\n\n[Examples](https://github.com/mihaimaruseac/hindent/blob/master/TESTS.md)\n\n## Install\n\n    $ stack install hindent\n\n## Usage\n\n    $ hindent --help\n    hindent - Reformat Haskell source code\n\n    Usage: hindent [--version | [--line-length ARG]\n                     [--indent-size ARG | --tab-size ARG] [--no-force-newline]\n                     [--sort-imports | --no-sort-imports] [--style STYLE]\n                     [-X GHCEXT] [--validate] [FILENAMES]]\n\n    Available options:\n      --version                Print the version\n      --line-length ARG        Desired length of lines (default: 80)\n      --indent-size ARG        Indentation size in spaces (default: 2)\n      --tab-size ARG           Same as --indent-size, for compatibility\n      --no-force-newline       Don\u0027t force a trailing newline\n      --sort-imports           Sort imports in groups\n      --no-sort-imports        Don\u0027t sort imports\n      --style STYLE            Style to print with (historical, now ignored)\n      -X GHCEXT                Language extension\n      --validate               Check if files are formatted without changing them\n      -h,--help                Show this help text\n\nhindent is used in a pipeline style\n\n    $ cat path/to/sourcefile.hs | hindent\n\nThe default indentation size is `2` ",
  "github_repo": "mihaimaruseac/hindent",
  "github_stars": 582,
  "github_topics": [
    "code-formatter",
    "hacktoberfest",
    "haskell"
  ],
  "homepage": "https://github.com/mihaimaruseac/hindent",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 1,
  "installs_365d": 58,
  "installs_90d": 5,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-3-Clause",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "hindent",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 17498,
  "rank_365d": 10640,
  "rank_90d": 14729,
  "raw_hash": "c0cac4ac74f29db4",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/h/hindent.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "libffi"
  ],
  "version_head": "HEAD",
  "version_stable": "6.3.0",
  "versioned_formulae": [],
  "why_use_this": null
}