Skip to content

Apply consistent layout to type constructors in signatures #427

@neongreen

Description

@neongreen

Input:

f :: forall x y.
      D x y x y

Output:

f ::
  forall x y.
  D x y x
    y

While I'm at it, this should also probably be consistent with data declarations?

Input:

data D = forall x y.
         D x y x y

Output:

data D
  = forall x y.
    D
      x
      y
      x
      y

My preferred option in both cases would be:

f ::
  forall x y.
  D x y x y

data D
  = forall x y.
    D x y x y

Metadata

Metadata

Assignees

Labels

styleNitpicking and things related to purely visual aspect for formatting.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions