| n | : | length of the list | |
| a1 | : | first element of the list | |
| an | : | last element of the list | |
| n = 0 | : | empty list | |
| elements can be linearly ordered according to their position in the list | |||
| L | : | list of objects of type element type |
| x | : | an object of this type |
| p | : | of type position |
| END(L) | : | a function that returns the position following the |
| last position in the list L |
Define the following operations: