Skip to content

Coming to a decision regarding the short to medium-term future of cabal format #8797

@Kleidukos

Description

@Kleidukos

#5734 is still relevant in cabal-install 3.9.0.0 and this is a rather shameful footgun. There are today alternatives to it, like @phadej/cabal-fmt, which performs much better.

In parallel, we do not even show format in the cabal --help message.

I would like us to take a decision regarding what we make of the format option.

@phadej Although I understand that the "goal of [this] project is to iterate independently of cabal-install"¹, would you say that it has reached suitable maturity for integration? I use the auto-expander syntax these days and I'm satisfied of how it works.

Personally I'd like see cabal-fmt as a new code path for cabal format. This can be advertised as being experimental, but in the end a clear improvement for the users.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions