--------------------------------------------------------------------- FILE tests/flag-with-group.hs foo = map (+1) . maybe mempty reverse RUN "--with-group=generalise" tests/flag-with-group.hs OUTPUT tests/flag-with-group.hs:1:7-9: Warning: Use fmap Found: map Perhaps: fmap 1 hint --------------------------------------------------------------------- RUN "--with-group=generalise-for-conciseness" tests/flag-with-group.hs OUTPUT tests/flag-with-group.hs:1:18-29: Warning: Use foldMap Found: maybe mempty Perhaps: foldMap 1 hint