serokell / log-warper

Logging library to provide more convenient, extremely configurable but simple monadic interface with pretty output
MIT License
19 stars 11 forks source link

Build failure with Stackage #87

Closed snoyberg closed 6 years ago

snoyberg commented 6 years ago
[13 of 19] Compiling System.Wlog.IOLogger ( src/System/Wlog/IOLogger.hs, dist/build/System/Wlog/IOLogger.o )

src/System/Wlog/IOLogger.hs:173:34: error:
    • Couldn't match type ‘Map LoggerName Logger’ with ‘LoggerName’
      Expected type: Element [LoggerName] -> LogTree -> LogTree
        Actual type: LogTree -> LoggerName -> LogTree
    • In the first argument of ‘foldl'’, namely ‘addLoggerToTree’
      In the expression: foldl' addLoggerToTree lt xs
      In an equation for ‘createLoggers’:
          createLoggers xs lt = foldl' addLoggerToTree lt xs
    |
173 |     createLoggers xs lt = foldl' addLoggerToTree lt xs -- Add logger to tree
    |                                  ^^^^^^^^^^^^^^^
chshersh commented 6 years ago

@snoyberg Thanks for reporting this issue! It should be fixed in version 1.8.4.

snoyberg commented 6 years ago

Cool, thanks!