mirror of
https://github.com/graninas/Hydra.git
synced 2024-12-26 02:23:36 +03:00
warnings top signature
This commit is contained in:
parent
d16e711bfe
commit
982ec55917
@ -2,7 +2,12 @@ module Hydra.Core.Logger.Impl.HsLoggerChurchI where
|
||||
|
||||
import Hydra.Prelude
|
||||
|
||||
import Hydra.Core.Logger.Impl.HsLogger (HsLoggerHandle)
|
||||
import Hydra.Core.Logger.Language (LoggerF)
|
||||
import qualified Hydra.Core.Logger.Impl.HsLoggerInterpreter as I
|
||||
|
||||
|
||||
|
||||
runLoggerL :: Maybe HsLoggerHandle -> F LoggerF () -> IO ()
|
||||
runLoggerL (Just h) l = foldF (I.interpretLoggerF h) l
|
||||
runLoggerL Nothing _ = pure ()
|
||||
|
Loading…
Reference in New Issue
Block a user