Closed safareli closed 5 years ago
I started this off the err branch, and target is that same branch to make diff nicer:
This snippet demonstrates how things play together:
app :: App (Free DSL) interpret :: Config -> Free DSL ~> IO mkConfig :: IO Config main = do conf <- mkConfig appData serveApp $ transformApp (interpret conf) app
This is good point https://github.com/f-o-a-m/hs-abci-server/pull/24#discussion_r306934838 so removed the AppData all together as for testing one can just use runApp
runApp
(thoughts given on rocket chat)
I started this off the err branch, and target is that same branch to make diff nicer:
This snippet demonstrates how things play together: