Created
August 30, 2011 11:27
-
-
Save wjlroe/1180697 to your computer and use it in GitHub Desktop.
error!
This file contains 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
src/tyrion.hs:23:29: | |
No instances for (Read (IO String), Num (IO String)) | |
arising from a use of `get' | |
Possible fix: | |
add instance declarations for (Read (IO String), Num (IO String)) | |
In the second argument of `($)', namely `get cp "" "password"' | |
In a stmt of a 'do' expression: | |
password <- forceEither $ get cp "" "password" | |
In the expression: | |
do { config <- readfile emptyCP fileLoc; | |
let cp = forceEither config; | |
username <- forceEither $ get cp "" "username"; | |
password <- forceEither $ get cp "" "password"; | |
.... } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment