Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DrRacket Tips and Traps

Common errors

  • Too many paranthesesparentheses - Since an open paranthesis, "(", indicates the beginning of a function, too many paranthesis will cause DrScheme to try to evaluate the result of the inner paranthesis as if it were a function, causing the error message: illegal application: first term in application must be a function name
  • Too few

...

  • parenthesis - Such as leaving off the correct number of paranthesis at the end of your function definition. The paranthesis-matching capabilities of DrScheme are designed to minimize this error, so pay attention to the highlighting that takes place as you type in paranthesis. The error message generated is syntax error: missing close paren or syntax error: too many close parens
  • Wiki Markup
    *Misspellings* \- Typographical errors will give a {{reference to undefined identifier:\[xxxx\]}} error.
  • Improper define syntax - An incorrect syntax in a define statement may lead to a define: malformed definition| error.

Error Message Interpretations

...