Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
[CBR-275] Removed RecordWildCards.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Triantafyllos authored and CodiePP committed Sep 5, 2018
1 parent a32da47 commit e8c06c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions util/src/Pos/Util/Wlog.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{-# LANGUAGE Rank2Types #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE Rank2Types #-}

-- | an interface to 'log-warper'
-- functions and types gradually migrate towards 'katip'
Expand Down Expand Up @@ -258,7 +257,7 @@ newtype PureLogger m a = PureLogger
MonadThrow, HasLoggerName)

instance Monad m => CanLog (PureLogger m) where
dispatchMessage leLoggerName leSeverity leMessage = modify' (|> LogEvent{..})
dispatchMessage name severity message = modify' (|> (LogEvent name severity message))
instance MFunctor PureLogger where
hoist f = PureLogger . hoist f . runPureLogger

Expand Down

0 comments on commit e8c06c0

Please sign in to comment.