-
Notifications
You must be signed in to change notification settings - Fork 89
Closed
Labels
styleNitpicking and things related to purely visual aspect for formatting.Nitpicking and things related to purely visual aspect for formatting.
Description
Hi, I was just reading the first release announcement. What do you think about changing:
module Ormolu
( ormolu,
ormoluFile,
ormoluStdin,
-- ...
withPrettyOrmoluExceptions,
)
whereto:
module Ormolu (
ormolu,
ormoluFile,
ormoluStdin,
-- ...
withPrettyOrmoluExceptions,
) whereIt would help to minimie diffs when adding an export that would appear before ormolu, say normalise. I also like how the indentation is minimised — now the exports have just one level of indentation rather than two.
diff --git a/Ormolu.hs b/Ormolu.hs
index b039aab..fddbdc1 100644
--- a/Ormolu.hs
+++ b/Ormolu.hs
@@ -1,5 +1,6 @@
module Ormolu
- ( ormolu,
+ ( normalise,
+ ormolu,
ormoluFile,
ormoluStdin,
-- ...compared with:
diff --git a/Ormolu.hs b/Ormolu.hs
index d263f20..84b386c 100644
--- a/Ormolu.hs
+++ b/Ormolu.hs
@@ -1,4 +1,5 @@
module Ormolu (
+ normalise,
ormolu,
ormoluFile,
ormoluStdin,Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
styleNitpicking and things related to purely visual aspect for formatting.Nitpicking and things related to purely visual aspect for formatting.