Allegro CL Certification Program
Session 2.1.1 - Functions

8/19/2003


Click here to start


Table of Contents

Allegro CL Certification Program

Ways to define functions

Defun

Argument List

Keyword Arguments

Keyword Arguments

Keyword Detail

Optional Arguments

Optional Arguments

Other possibilities

Optional and Keyword Arguments

&rest example

&rest Arguments

Pointers to Functions

Pointers to Functions

Calling a Function by its Pointer

Using Function References

Function References

Lambdas

Lambda - Example

Where do you use lambdas

Other Functions of Functions

fboundp

fdefinition

fmakunbound

Symbol-function

Global .vs. Local Functions

Local Functions - labels

SETF Functions

SETF Function Definition

Using SETF

Many Operations in Lisp itself are setf-enabled

The Idea of Mapping Functions

Mapcar

maphash

The Idea of Multiple Values

Multiple-value-setq

Multiple-Value-Bind

Author: Franz Inc.

Email: [email protected]

Home Page: http://franz.com/lab/

Download presentation source