In Hope, lists have to have elements all of the same type but if we want data structures where the elements can be of different type then we can use tuples. Mathematically speaking, tuples are elements form the Cartesian Product of Sets.


Sebastian Danicic BSc MSc PhD (Reader in Computer Science)
Dept of Computing, Goldsmiths, University of London, London SE14 6NW
Last updated 2010-12-29