chapter  4
42 Pages

Listful thinking

There are two types of data objects in Logo: words and lists. A word is a string of characters, and a list is a collection of words and/or other lists. Logo provides operations to manipulate words and lists: we can join words and lists together to form larger ones, split them into smaller parts, or rearrange their components. Since we plan to make words and lists do quite a bit of work for us, we will take some time to understand words and lists.