I would expect adding {- FOURMOLU_DISABLE -} to the very top of the file and running fourmolu would not change anything in the file, but it does change this:
{- FOURMOLU_DISABLE -}
class Bar a where
bar1 :: a
bar2 :: a
to this:
{- ORMOLU_DISABLE -}
class Bar a where
bar1 :: a
bar2 :: a
It collapses multiple newlines into one, changes FOURMOLU_DISABLE to ORMOLU_DISABLE, and (you can't see it here) removes trailing whitespace
I would expect adding
{- FOURMOLU_DISABLE -}to the very top of the file and runningfourmoluwould not change anything in the file, but it does change this:to this:
It collapses multiple newlines into one, changes
FOURMOLU_DISABLEtoORMOLU_DISABLE, and (you can't see it here) removes trailing whitespace