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
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
foo.hs:16:35:
Couldn't match expected type bytestring-0.10.0.2:Data.ByteString.Internal.ByteString' with actual typeByteString'
In the return type of a call of encode' In the second argument ofencryptIO', namely (encode id)' In the first argument of(>>=)', namely `encryptIO k (encode id)'
foo.hs:17:18:
Couldn't match type ActionM' withIO'
Expected type: IO ()
Actual type: ActionM ()
In the return type of a call of header' In the expression: header "Set-Cookie" ("sid=" <> decode x <> ";") In the second argument of(>>=)', namely
`(\ x -> header "Set-Cookie" ("sid=" <> decode x <> ";"))'
foo.hs:17:56:
Couldn't match expected type ByteString' with actual typebytestring-0.10.0.2:Data.ByteString.Internal.ByteString'
In the first argument of decode', namelyx'
In the first argument of (<>)', namelydecode x'
In the second argument of (<>)', namelydecode x <> ";"'
foo.hs:16:35:
Couldn't match expected type
bytestring-0.10.0.2:Data.ByteString.Internal.ByteString' with actual type
ByteString'In the return type of a call of
encode' In the second argument of
encryptIO', namely(encode id)' In the first argument of
(>>=)', namely `encryptIO k (encode id)'foo.hs:17:18:
Couldn't match type
ActionM' with
IO'Expected type: IO ()
Actual type: ActionM ()
In the return type of a call of
header' In the expression: header "Set-Cookie" ("sid=" <> decode x <> ";") In the second argument of
(>>=)', namely`(\ x -> header "Set-Cookie" ("sid=" <> decode x <> ";"))'
foo.hs:17:56:
Couldn't match expected type
ByteString' with actual type
bytestring-0.10.0.2:Data.ByteString.Internal.ByteString'In the first argument of
decode', namely
x'In the first argument of
(<>)', namely
decode x'In the second argument of
(<>)', namely
decode x <> ";"'