Skip to content

Commit a67d636

Browse files
committed
Prefer flip over $-section
I'm a bit neutral on this HLint rule, but I figured it's less work to just follow the guidance than than to configure around it.
1 parent e64ad42 commit a67d636

File tree

1 file changed

+1
-1
lines changed
  • Blammo/src/Blammo/Logging/LogSettings

1 file changed

+1
-1
lines changed

Blammo/src/Blammo/Logging/LogSettings/Env.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ parseWith = Env.parse id . parserWith
7474

7575
parserWith :: LogSettings -> Parser Error LogSettings
7676
parserWith defaults =
77-
($ defaults) . appEndo . mconcat
77+
flip (appEndo . mconcat) defaults
7878
<$> sequenceA
7979
[ endoVar readLogLevels setLogSettingsLevels "LOG_LEVEL"
8080
, endoVar readLogDestination setLogSettingsDestination "LOG_DESTINATION"

0 commit comments

Comments
 (0)