Next: About Expressions, Previous: About Data, Up: Hello Scheme! [Contents][Index]
This section introduces the basics of using and creating Scheme
procedures. It discusses the representation of procedures as just
another kind of Scheme value, and shows how procedure invocation
expressions are constructed. We then explain how lambda
is used
to create new procedures, and conclude by presenting the various
shorthand forms of define
that can be used instead of writing an
explicit lambda
expression.
• Procedures as Values | Procedures are values like everything else. | |
• Simple Invocation | How to write a simple procedure invocation. | |
• Creating a Procedure | How to create your own procedures. | |
• Lambda Alternatives | Other ways of writing procedure definitions. |