brittany icon indicating copy to clipboard operation
brittany copied to clipboard

Unnecessary line break before list comprehension

Open expipiplus1 opened this issue 6 years ago • 1 comments

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  ()

expipiplus1 avatar Feb 16 '20 03:02 expipiplus1

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

tfausak avatar Jul 21 '20 12:07 tfausak