fourmolu-0.17.0.0: A formatter for Haskell source code

Safe Haskell | None
Language | GHC2021

Ormolu.Imports.Grouping

# Documentation

data Import #

Constructors

Import |

Fields

- importName :: ModuleName
- importQualified :: Bool

prepareExistingGroups :: ImportGrouping -> Bool -> [LImportDecl GhcPs] -> [[LImportDecl GhcPs]] #

groupImports :: ImportGrouping -> Set ModuleName -> (x -> Import) -> [x] -> [[x]] #