Versions Compared

Key

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

...

A function definition introduces a new local scope - the parameters are defined within the body.

  • (define ( parameters ...) body )

A local definition introduces a new local scope - the names in the definitions are defined within both within the bodies of the definitions and within the local's body.

  • Wiki Markup
    {{(local \[}} definitions {{...\]}} body {{)}}

Wiki Markup
Note that the use of square brackets \[ \] here is equivalent to parentheses( ).  The brackets help set off the definitions a little more clearly for readability.

...