Next: Threads, Previous: Modules, Up: The language [Contents][Index]
Control structures are special forms or macros that control which forms get evaluated, when they get evaluated and the number of times to evaluate them. This includes conditional structures, loops, etc…
The simplest control structures are the sequencing structures; they are used to evaluate a list of forms in left to right order.
• Sequencing Structures: | Evaluating several forms in sequence | |
• Conditional Structures: | Making decisions based on truth values | |
• Looping Structures: | ‘while’ loops | |
• Non-Local Exits: | Exiting from several levels of evaluation | |
• Continuations: | Capturing the call stack |