Lists of Lists

We can make lists whose elements are themselves list: For example:
[[1,2],[3,4,5],[1,2]];
is a list of lists of numbers If we type it into Hope, Hope responds with:
>> [[1, 2], [3, 4, 5], [1, 2]] : list (list num)



Subsections

s.danicic@gold.ac.uk
Sebastian Danicic BSc MSc PhD (Reader in Computer Science)
Dept of Computing, Goldsmiths, University of London, London SE14 6NW
Last updated 2010-12-29