• 沒有找到結果。

#’ 10-1

#s syntax

structure reader syntax 9-9 ,@ 11-3

< (ascending order function) 3-5

= 3-5, 12-10

= function, syntax and semantics of 3-5

> (descending order function) 3-4

A

abs 3-3

absolute value 3-3 access function 9-6, A-1 access functions 9-9 accessor 13-4 addition 3-1 after method 13-8 alist 9-1, A-1 and 7-3

append 4-5, 12-6

append function, syntax and semantics of 4-5 apply 10-2

aref 9-5 arguments

any number of 10-7 arithmetic functions 3-1 around method 13-8 array A-1

array entries

retrieving or modifying 9-5 array-rank-limit 9-5

arrays 9-5 making 9-5

zero-dimensional 9-5 assignment A-1

assoc 9-1

association list 9-1, A-1 associations

retrieving 9-1 atom A-5

attempt to set non-special free variable warning 14-6

B

backquote 11-2, 11-3 before method 13-8 binding 6-1, A-1 box-and-arrow 12-2

C

call A-1 car 4-1

carriage return 5-5

carriage return, how to output a 5-5 cdr 4-1

cdr function, syntax and semantics of 4-1 characters

printing special 5-4 special, examples of 5-4 class (in CLOS) 13-2 class inheritance 13-6 clause A-1

CLOS 13-1

accessors 13-4 class 13-2

class inheritance 13-6 generic function 13-2 inheritance 13-3 initargs 13-4 initform 13-4

Index CLOS (cont.)

methods 13-2 primary method 13-9 shared slots 13-11 slots 13-3

superclass 13-7 comma

and backquote 11-2 comma-at 11-3

comments, inserting into a function definition 2-5 Common Lisp Object System 13-1

compiler warnings

attempt to set non-special free variable 14-6 cond 7-6

conditional testing 7-3 conditionals 7-1 cons 4-4

box-and-arrow description 12-4 cons cells 12-1, 12-2

cons function, syntax and semantics of 2-3, 4-4 constructor A-5

conventions used in this manual 1-3

D

Data A-2 data

basic types (symbols, numbers, lists) 2-1

no distinction between Lisp data and Lisp programs 1-2 data abstraction 9-6, A-2

data and programs 1-2 data constructor A-5 data mutator A-5 data selector A-5 data structures 9-1 data type

defstruct 9-8 debugger 14-1 default values

defclass (example) 13-3 defgeneric (example) 13-2 defining macros 11-2 defmacro 11-2

defmethod (example) 13-2 defparameter

compared to defvar 14-7 defstruct 9-7

and typep 9-8 defun 2-4, 10-1 defvar

compared to defparameter 14-7 dynamic scoping 6-4

delete 12-8

descending order function, syntax and semantics of 3-4 destructiveness vs efficiency 12-8

discarding elements of a list 10-3 division 3-2

division by zero 14-5 do 8-3

documentation online P-2 dotted pair 12-6, A-2 dynamic scoping 6-4, A-2

E

e 10-5

efficiency vs destructiveness 12-8 element A-2

embedded function A-5 environment A-6 eql 12-9

equal 12-9 function 7-2 equality 3-5, 12-9 error 14-5

error messages 14-1 user defined 14-5

Index errors 14-1

escape character A-3, A-5 eval 5-3

evaluation A-2

evaluation of forms 5-3 even 3-5

evenp 3-5

evenp function, syntax and semantics of 3-5 expanding macros 11-2

exponential function, syntax and semantics of 3-2 expt function, syntax and semantics of 3-2

F

filtering 10-3, A-2 first 4-1

float 3-4

float function for converting integers into floats, syntax and semantics of 3-4 for 8-4

form A-2

definition of 2-1 free A-2

free variable 6-1

compiler warning when setting 14-6 free-storage-list 12-3

funcall 10-4 function 10-1, A-2

access A-1 defining a 2-3

using as an argument 10-4 function call

example 1-2 syntax of 1-2 functional error A-6

G

garbage collection 12-9, A-2 gc 12-9, A-2

generating symbols 11-4

gensym 11-4 get 9-2

with setf 9-3

H

help

online P-2

I

if 7-3

if-then-else construct 7-3 inheritance (discussed) 13-3 initargs 13-4

initform 13-4 input 5-1

function to handle 5-2

how to make easier to read 1-3 Introducing 5-1

italics 1-3 iteration 8-1, A-3

J

joining lists 12-8

K

key A-3

L

lambda 10-1

lambda expression 10-1, A-3 last 4-3

let 6-1

lexical scoping 6-3, A-3 Lisp

derivation of name 1-1 versions 1-1

Index list 4-5

add an item to the front of a 2-3 adding to and removing from a 2-3 definition of 2-1

delete an item from a 2-3

function that substitutes one element of a list for another 4-4 function to add an item to the front of a 4-4

function to extract first element of a 4-1 function to extract last element of a 4-3 function to extract nth element of a 4-2 functions that combine one with another 4-4 modifying 12-4

storage 12-1 surgery A-6

list function, syntax and semantics of 4-5 list structure 12-3

listp

function 7-1 literal expression A-3 log 3-3, 10-5

logarithm 3-3 logical operators 7-3 loop 8-2

M

macroexpand-1 11-2 macroexpansion 11-1, A-3 macros 11-1, A-3

defining 11-2 expanding 11-2 vs functions 11-1

make-structure constructor function 9-8 make-array 9-5

make-instance 13-4 example 13-4 making a list 4-5

mapcar 10-1

and functions of more than one argument 10-2 examples 10-2

simple version 10-5 mapping A-3

max 3-5 maximum 3-5 member 12-10

function 7-2 memory 12-3

memory management 12-9 method (discussed) 13-2 method combination 13-8 methods

after 13-8 around 13-8 before 13-8 min 3-5

minimum 3-5 minus 3-5 minusp 3-5

minusp function, syntax and semantics of 3-5 modifying lists 12-4

multiple escape characters A-3 multiple values A-4

multiplication 3-2 mutator A-5

N

nconc 12-8

negative, function to test if a number is 3-5 nested expression A-6

nth 4-2 null

function 7-2 number

types of 2-1

Index numberp

function 7-1 numbers A-4

O

object oriented programming (in CLOS) 13-1 odd 3-5

odd, function to test if a number is 3-5 oddp 3-5

online manual P-2

&optional 10-6

optional arguments 10-5 default values 10-6 or 7-3

order, descending, function, syntax and semantics of 3-4 output 5-1

function to perform 5-1

output a carriage return, how to 5-5

P

plist 9-2, A-4 pointers 12-1 predicates 3-4, A-4 pretty-printing A-6 primary method 13-9 primitive A-6

prin1 5-5

prin1 function, syntax and semantics of 5-5 princ 5-5

print 5-1

function to print without starting with a new line 5-5 without escape characters 5-5

without newlines 5-5

print a carriage return, how to 5-5

print function, syntax and semantics of 5-1 print special characters, how to 5-4 procedure A-6

progn 7-5

programs

are usually called "functions" in Lisp 1-2 programs and data 1-2

property 9-2, A-4 modifying 9-3 removing 9-4 retrieving 9-2, 9-4 property list 9-2, A-4 property value A-4 push 11-1

Q

quote 4-3

quote function, syntax and semantics of 4-3

R

read 5-1

read function, syntax and semantics of 5-2 recursion 8-1, 8-5, A-4

tail A-6 rem 3-4

rem function, syntax and semantics of 3-4 remainder 3-4

remainder function, syntax and semantics of 3-4 remove 12-8

remove function, syntax and semantics of 2-3 remove-if 10-3

remove-if-not 10-3

remove-method (example) 13-9 remprop 9-4

&rest 10-6 rest 4-1 return 8-4 round 3-3

round function, syntax and semantics of 3-3 rplaca 12-7

rplacd 12-8

Index

S

scope 6-3, A-4 scoping

dynamic A-2 lexical 6-3, A-3 selector A-5 sentinel value A-6 setq A-6

shared slot 13-11 side effect A-4

single escape character A-5 slot (discussed) 13-3 slot-value (example) 13-5 special variable 6-4, A-5 specifying default values 10-6 sqrt 3-2

square root 3-2 storage of lists 12-1 structure 9-7 subst 4-4, 12-10

subst function, syntax and semantics of 4-4 subtraction 3-1

sum of squares 10-7 superclass 13-7 super-parenthesis 2-5 symbol A-5

conventions used in this manual 1-3 definition of 2-1

how to define a string as a 5-4 symbolp

function 7-1 symbol-plist 9-4

T

tail recursion A-6 temporary variable 6-1 terpri

print a carriage return 5-5

textual scoping 6-3, A-5 top-level element A-5 toploop 5-1, 5-3, 14-1, A-5 Toploop window

example 1-2 truncate 3-3 typep

and defstruct 9-8

U

unbound A-2

unbound variable 6-1 unless 7-5

user defined error messages 14-5 using functions as arguments 10-4

V

variable

compiler warning when setting a free variable 14-6 free 6-1

special A-5 temporary 6-1 unbound 6-1

W

warnings

attempt to set non-special free variable 14-6 when 7-5

Z

zero 3-6

zero-dimensioned array 9-5 zerop 3-6

Debugge

Allegro CL for Windows

Interface Builder

version 3.0

October, 1995

Copyright and other notices:

This is revision 1 of this manual. This manual has Franz Inc. document number D-U-00-PC0-12-51018-3-1.

Copyright 1994 by Franz Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means elec-tronic, mechanical, by photocopying or recording, or otherwise, without the prior and explicit written permission of Franz incorporated.

Restricted rights legend: Use, duplication, and disclosure by the United States Government are subject to Restricted Rights for Commercial Software developed at private expense as specified in DOD FAR 52.227-7013 (c) (1) (ii).

Allegro CL is a registered trademarks of Franz Inc.

Allegro CL for Windows is a trademark of Franz Inc.

Windows, Windows 95, MS Windows, MS-DOS, and DOS are trademarks of Microsoft.

Franz Inc.

1995 University Avenue Berkeley, CA 94704 U.S.A.

Contents

相關文件