1
1
mirror of https://github.com/tweag/ormolu.git synced 2024-09-17 16:17:14 +03:00
ormolu/weeder.dhall
Mark Karpov 8f2bc36705 Allow to specify module re-exports in .ormolu files
It turns out that gaining knowledge of all module re-exports in the
ecosystem is tricky because the Hoogle database does not contain this
information, so one would need to download all 14+k packages from Hackage
and parse their source code. We've decided that perhaps hardcoding some
common re-exports and otherwise giving the users a way to make Ormolu aware
of arbitrary important re-exports is a satisfactory solution for now.

Co-authored-by: amesgen <alexander.esgen@tweag.io>
2023-05-15 20:43:41 +02:00

8 lines
164 B
Plaintext

{ roots =
[ "^Main.main\$"
, "^Paths_"
, "^Ormolu.Terminal.QualifiedDo.>>\$" -- https://github.com/ocharles/weeder/issues/112
]
, type-class-roots = True
}