Unnecessary line break before list comprehension #283

Open
opened 2020-02-16 04:22:30 +01:00 by expipiplus1 · 1 comment
expipiplus1 commented 2020-02-16 04:22:30 +01:00 (Migrated from github.com)
foo =
  let r =
          [ m | m <- foooooooooooooooooooooooooooooooooooooooooooooooooooooooo ]
  in  ()

The break between r = and [ m is a little odd here.

This happens also without a single very long word

foo =
  let r =
          [ m
          | m <- foooooooooooooooooooo
          , fooooooooooooooooooooooooooo
          , fooooooooooooooooooooooooooo
          ]
  in  ()
```haskell foo = let r = [ m | m <- foooooooooooooooooooooooooooooooooooooooooooooooooooooooo ] in () ``` The break between `r =` and `[ m` is a little odd here. This happens also without a single very long word ```haskell foo = let r = [ m | m <- foooooooooooooooooooo , fooooooooooooooooooooooooooo , fooooooooooooooooooooooooooo ] in () ```
tfausak commented 2020-07-21 14:37:51 +02:00 (Migrated from github.com)

I suspect the same problems show up with regular lists as well.

I suspect the same problems show up with regular lists as well.
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#283
There is no content yet.