warnings top signature

This commit is contained in:
Daneel Yaitskov 2020-05-09 16:34:11 -07:00
parent d16e711bfe
commit 982ec55917

View File

@ -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 ()