Created
April 12, 2013 17:33
-
-
Save funrep/5373714 to your computer and use it in GitHub Desktop.
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
Main.hs:99:23: | |
No instance for (MonadError | |
(String -> LispVal -> LispError) ((->) [Char])) | |
arising from a use of `throwError' | |
Possible fix: | |
add an instance declaration for | |
(MonadError (String -> LispVal -> LispError) ((->) [Char])) | |
In the expression: throwError TypeMismatch "boolean" result | |
In a case alternative: | |
otherwise -> throwError TypeMismatch "boolean" result | |
In a stmt of a 'do' block: | |
case result of { | |
Bool False -> eval alt | |
Bool True -> eval conseq | |
otherwise -> throwError TypeMismatch "boolean" result } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment