Why is there no "standard" formatting tool for haskell?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/haskell

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • brittany

    haskell source code formatter

    Yeah I couldn't find anything at all which is really unfortunate. You could check out the config source code

  • rustfmt

    Format Rust code

    I really wish Haskell had something like rustfmt. Pretty much all Rust code follows the same default rustfmt style. rustfmt is also deterministic, so the original formatting has no effect on the new formatting. This makes things very regular and predictable.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • fourmolu

    A fourk of ormolu that uses four space indentation and allows arbitrary configuration. Don't like it? PRs welcome!

    Thanks for sharing fourmolu! This is awesome!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts