What is the essential structure of a recursively defined sequence?
Answer
a sequence can be decomposed into its first element and the rest of its elements.
Tags
#python #sicp
Question
What is the essential structure of a recursively defined sequence?
Answer
?
Tags
#python #sicp
Question
What is the essential structure of a recursively defined sequence?
Answer
a sequence can be decomposed into its first element and the rest of its elements.
If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation
Open it This definition exposes the essential structure of a recursively defined
sequence: a sequence can be decomposed into its first element and the rest of
its elements.
Original toplevel document
1.5 Control e can also understand multi-line programs now.
To execute a sequence of statements, execute the first statement. If that
statement does not redirect control, then proceed to execute the rest of the
sequence of statements, if any remain.
<span>This definition exposes the essential structure of a recursively defined
sequence: a sequence can be decomposed into its first element and the rest of
its elements. The "rest" of a sequence of statements is itself a sequence of
statements! Thus, we can recursively apply this execution rule. This view of
sequences as recursive data struct
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.