You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/chris/Projects/Haskell/wrecker/app/Main.hs:14:7: error:
• Couldn't match type ‘Response
bytestring-0.10.8.2:Data.ByteString.Lazy.Internal.ByteString’
with ‘()’
Expected type: Environment -> IO ()
Actual type: Environment
-> IO
(Response
bytestring-0.10.8.2:Data.ByteString.Lazy.Internal.ByteString)
• In the expression:
withWreq $ \ sess -> do get sess "https://trycatchchris.co.uk"
In the expression:
("first page",
withWreq $ \ sess -> do get sess "https://trycatchchris.co.uk")
In the first argument of ‘defaultMain’, namely
‘[("first page", withWreq $ \ sess -> do ...)]’
|
14 | , withWreq $ \sess -> do
| ^^^^^^^^^^^^^^^^^^^^^^...
app/Main.hs
The text was updated successfully, but these errors were encountered: