| Overview | Module | Function | Class | Tea 3.2.5 Reference Documentation © 2009 PDM&FC |
prepend anObject aList
Creates a new list obtained by inserting a new element at the head of an existing list.
aList.
anObject is the first element and
aList is the rest of that list.
prepend function could be defined as follows:
define prepend ( anObject aList ) {
cons $anObject $aList
}
| Overview | Module | Function | Class | Tea 3.2.5 Reference Documentation © 2009 PDM&FC |