Title: Theory / Unimportant / CS / Programming / LISP / Little / Scheme/
Tags: FromInstruction computer_to_instruction hasNotNewEffectReturnsMeaning récupéré seen_description automatedNewLineAfterCommaSpace declaration effectToValue

Instruction: atom? o
Page: xii
Language: Lisp
Returns: Whether o is not a list (i.e. neither null nor a pair)

Name: Notations for lisp
Page: xiii
Notation: L:

Name: Notations for Scheme
Page: xiii
Notation: S:

Instruction: car
Page: 5
Language: Lisp
Returns: its first element of the input pair/list

Instruction: (cdr l)
Page: 5
Language: Lisp
Returns: The second element of l
Assuming: l a cons

Instruction: (cons h t)
Page: 7
Language: Lisp
Returns: the list with h as tail and t as tail
the pair h t

Instruction: (null? l)
Page: 9
Language: Lisp
Returns: Whether l is the null list

Name: The null list
Definition: (quote ())
Page: 9
Context: LISP
Notation: () (lisp)
Name2: nil
Notation2: '()

Instruction: (eq? a b)
Page: 9
Language: LISP
Returns: Whether a and b are the same non-numeric atom

Instruction: (lat? l)
Page: 15
Language: LISP
Chapter: 2
Returns: Whether l is a list of atom

Name: A list of atom
Page: 15
Chapter: 2
Abbreviation: lat

Instruction: (
  lambda
  (foo_1, ..., foo_n)
  bar
)
Page: 15
Effect: The function such that, when it is called with \(n\) arguments, it execute bar, with foo_i interpreted as the i-th argument
Language: Lisp
Chapter: 2

Instruction: (define foo
bar)
Page: 15
Language: Lisp
Chapter: 2
Identifier: foo
Initialization: bar

Instruction: (and foo_1 ... foo_n)
Page: 21
Effect: each foo_i holds
Language: Lisp
Chapter: 2

Instruction: (or foo_1 ... foo_n)
Page: 21
Effect: Some foo_i holds
Language: Lisp
Chapter: 2

Instruction: (member? foo bar)
Page: 21
Language: Lisp
Chapter: 2
Returns: whether foo belongs to bar

Instruction: (multirember foo bar)
Page: 53
Effect: The list bar without its foo's assuming it exists
Chapter: 3

Instruction: (rember foo bar)
Page: 33
Effect: The list bar without its first foo assuming it exists
Language: Lisp
Chapter: 3

Instruction: firsts l
Page: 43
Language: Lisp
Chapter: 3
Returns: the list of the first elements of l

Instruction: (insertR foo buz bar)
Page: 47
Effect: the list bar, where foo is added after the first occurrence of buz
Chapter: 3

Instruction: (multiinsert foo buz bar)
Page: 56
Effect: the list bar, where foo is added after each occurrence of buz
Language: Lisp
Chapter: 3

Instruction: add1
Page: 59
Effect: incrementing function
Language: Lisp
Chapter: 4

Instruction: sub1
Page: 59
Effect: decrementing function
Language: Lisp
Chapter: 4

Instruction: (zero? n)
Page: 59
Language: Lisp
Chapter: 4
Returns: Whether n is 0

Instruction: #f
Effect: False constant
Language: Lisp

Instruction: #t
Effect: True constant
Language: Lisp

Instruction: (+ foo_1 ... foo_n)
Page: 61
Effect: the sum of the foo_i
Language: Lisp
Chapter: 4

Instruction: (- foo_1 foo_2)
Page: 61
Effect: foo_1 -foo_2
Language: Lisp
Chapter: 4

Instruction: (tup? l)
Page: 61
Language: Lisp
Chapter: 4
Returns: Whether l is a list of numbers

Instruction: addtup
Page: 61
Effect: add the elements of its elements which are tup
Language: Lisp
Chapter: 4

Instruction: tup+
Page: 67, 70
Effect: add two tups, pointwise. Missing values are 0
Chapter: 4

Instruction: (> a b)
Page: 72
Language: Lisp
Chapter: 4
Returns: whether a>b

Instruction: (= a b)
Page: 72
Language: Lisp
Chapter: 4
Returns: whether the numbers a and b are equal

Instruction: (quotient a b)
Page: 72
Effect: the natural part of \(a/b\)
Language: Lisp
Chapter: 4

Instruction: (length a)
Page: 76
Effect: the length of the list a
Language: Lisp
Chapter: 4

Instruction: (length foo buz)
Page: 76
Effect: the foo-th element of the list buz
Chapter: 4

Instruction: (number? o)
Page: 78
Language: Lisp
Chapter: 4
Returns: whether o is a number

Instruction: (occur foo bar)
Page: 78
Effect: the number of time foo occurs in the list bar
Chapter: 4

Instruction: (rember* foo bar)
Page: 81
Effect: remove each occurence of foo occurring in the structure bar
Language: Lisp
Chapter: 5

Instruction: (insertR* foo buz bar)
Page: 82
Effect: add foo after each occurrence of buz in the structure bar
Language: Lisp
Chapter: 5