Weird formatting of case expressions in lists #227

Open
opened 2019-05-04 09:41:09 +02:00 by expipiplus1 · 1 comment
expipiplus1 commented 2019-05-04 09:41:09 +02:00 (Migrated from github.com)
-- Weird placement of 'of' in line with the list commas
foo = bar
  [ case
    foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
  of
    () -> ()
  , ()
  ]

-- Doesn't occur if this is a singleton list
foo = bar
  [ case
      foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
    of
      () -> ()
  ]

-- Doesn't occur if this list is not an argument to a function ('bar' above)
foo =
  [ case
      foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
    of
      () -> ()
  , ()
  ]

```haskell -- Weird placement of 'of' in line with the list commas foo = bar [ case foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo of () -> () , () ] -- Doesn't occur if this is a singleton list foo = bar [ case foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo of () -> () ] -- Doesn't occur if this list is not an argument to a function ('bar' above) foo = [ case foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo of () -> () , () ] ```
tfausak commented 2019-06-18 02:20:11 +02:00 (Migrated from github.com)

Seems related to #232.

Seems related to #232.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hexagoxel/brittany#227
There is no content yet.