Created
June 15, 2020 13:31
-
-
Save etorreborre/e0510db26b20b4f3e98230cfe08eba22 to your computer and use it in GitHub Desktop.
Dependencies with RecordWildCards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
newService :: Monad m => Logger m -> Tracer m -> Service m | |
newService Logger {..} Tracer {..} = Service {..} | |
where | |
doIt :: Int -> Text -> m () | |
doIt n t = do | |
info "doing it" t | |
traceIt (show n) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment