tweag / ormolu

A formatter for Haskell source code
https://ormolu-live.tweag.io
Other
956 stars 83 forks source link

Allow to specify module re-exports in .ormolu files #1020

Closed mrkkrp closed 1 year ago

mrkkrp commented 1 year ago

Close #1017.

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.

github-actions[bot] commented 1 year ago

🚀 Deployed on https://20f52e2395c7b04b72be41029b78bade0211eba3--ormolu-live.netlify.app

mrkkrp commented 1 year ago

@amesgen I've addressed your comments. Yeah, I think we can release 0.7.0.0 without support for mixins. This can be added later.