ennocramer / floskell

Floskell is a flexible Haskell source code pretty printer.
BSD 3-Clause "New" or "Revised" License
178 stars 22 forks source link

Significant runtime blowup when formatting pattern guards #67

Closed Philonous closed 11 months ago

Philonous commented 2 years ago

Floskell takes 6s on my machine to reformat the following code fragment:

foo x | Just x1 <- Just x
      , Just x2 <- Just x1
      , Just x3 <- Just x2
      , Just x4 <- Just x3
      , Just x5 <- Just x4
      , Just x6 <- Just x5
      , Just x7 <- Just x6
      = True
ennocramer commented 11 months ago

This problem has been addressed with floskell-0.11.0.