| Home | Overview | Documents | Content Dictionaries | Software & Tools | The OpenMath Society | OpenMath Projects | OpenMath Discussion Lists | OpenMath Meetings | Links |
Several basic list functions are given in this CD.
This symbol takes a positive integer n and a list, and represents the n-th element of that list.
| [Next: first] [Last: in] [Top] |
This symbol represents a function which returns the first elements of its argument, which should be a list.
| [Next: rest] [Previous: list_selector] [Top] |
This symbol represents a function which returns a list made up of all the elements except the first of its argument, which should be a list.
| [Next: cons] [Previous: first] [Top] |
This symbol represents the cons list function. It takes 2 arguments: the second must be a list, where the elements have the same type as the type of the first. The function denotes a new list which has the first argument as its first element followed by the elements of the second argument.
| [Next: nil] [Previous: rest] [Top] |
The empty list
| [Next: append] [Previous: cons] [Top] |
The operation of joining one list to another
| [Next: reverse] [Previous: nil] [Top] |
The reverse of a list
| [Next: size] [Previous: append] [Top] |
This symbol is used to denote the number of elements in a list. It is either a non-negative integer.
| [Next: in] [Previous: reverse] [Top] |
This symbol has two arguments, an element and a list. It is used to denote that the element is in the given list.
| [First: list_selector] [Previous: size] [Top] |
| Home | Overview | Documents | Content Dictionaries | Software & Tools | The OpenMath Society | OpenMath Projects | OpenMath Discussion Lists | OpenMath Meetings | Links |