Lists of ListsTopMore Lists

More Lists

Grace not only allows you to use for loops with lists of numbers, it also allows you to use them with lists of anything. Thus if myList is a list of Thing then we can write

for(myList) do {thing: Thing ->
   ...
}

The programs ScribbleList and SingleListScribbler illustrate their use with an alternative implementation of scribbles.


Lists of ListsTopMore Lists