Skip to content

Instantly share code, notes, and snippets.

@funrep
Created April 12, 2013 17:33
Show Gist options
  • Save funrep/5373714 to your computer and use it in GitHub Desktop.
Save funrep/5373714 to your computer and use it in GitHub Desktop.
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