Skip to content

Commit

Permalink
Less confusing still
Browse files Browse the repository at this point in the history
  • Loading branch information
Artyom Kazak committed Feb 3, 2019
1 parent 40cc876 commit 17aaeae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion servant-mock/src/Mock.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ type ClientMock = ReaderT Application IO
instance RunClient ClientMock where
runRequest :: Request -> ClientMock Response
runRequest request = ReaderT $ \app -> do
-- The 'Application' gives us its response and we return it.
responseMVar <- newEmptyMVar @Response
let storeResponse :: Wai.Response -> IO Wai.ResponseReceived
storeResponse waiResponse = do
Expand Down

0 comments on commit 17aaeae

Please sign in to comment.