Skip to content

Format with Fourmolu #123

Open
Open
@ocharles

Description

@ryndubei Now that we've got multiple people working on this, I think it might be worth using a formatter, rather than having people faff around with the (somewhat esoteric) formatting I used when I started this project. At CircuitHub, we use the following fourmolu.yaml:

indentation: 2
comma-style: leading
import-export-style: diff-friendly
indent-wheres: true
record-brace-space: false
respectful: true
haddock-style: multi-line
newlines-between-decls: 2
fixities: []
single-constraint-parens: auto

What do you think? Shall we apply this here too? I also suggest we drop the package comments for now, though https://github.com/circuithub/ch-hs-imports does exist to automate this if we want it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions