File 'base/lists.tcl' (part of 'Pool_Base')
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
::pool::list::apply (cmd list)
|
|
Argument: cmd
|
The command executed for each entry.
|
Argument: list
|
The list to look at.
|
Returns: A list containing all results of the application of cmd to the list.
|
::pool::list::assign (varList list)
|
by Brent Welch
|
|
Argument: varList
|
List of variables to assign the values to.
|
Argument: list
|
The list to assign to the variables.
|
::pool::list::delete (listVar value)
|
by Brent Welch
|
|
Argument: listVar
|
The name of the variable containing the list to manipulate.
|
Argument: value
|
The value searched (and deleted from the list).
|
Returns: 1 if the item was present, else 0.
|
::pool::list::exchange (listVar position newItem)
|
|
Argument: listVar
|
Name of variable containing the list to be manipulated.
|
Argument: position
|
Index of the element to remove.
|
Argument: newItem
|
The element to insert into the place of the removed one.
|
Returns: The changed list.
|
::pool::list::filter (list pattern)
|
|
Argument: list
|
The list to filter
|
Argument: pattern
|
The list of words to remove from list
|
Returns: Setdifference of list and pattern
|
::pool::list::head (list)
|
Argument: list
|
The list to look at.
|
Returns: The first element of list.
|
::pool::list::last (list)
|
Argument: list
|
The list to look at.
|
Returns: The last element of list.
|
::pool::list::lengthOfLongestEntry (list)
|
|
Argument: list
|
The list to look at.
|
Returns: The length of the longest entry.
|
::pool::list::match (list pattern)
|
|
Argument: list
|
The list to filter
|
Argument: pattern
|
The list of words to accept in list
|
Returns: Nearly the intersection of list and pattern
|
::pool::list::pop (listVar)
|
|
Argument: listVar
|
name of variable containing the list to manipulate.
|
Returns: The last element of the list, or {} in case of an empty list.
|
::pool::list::prepend (listVar newElement)
|
|
Notes: The same as ::pool::list::unshift, just under a different name.
|
Argument: listVar
|
The name of the variable containing the list to manipulate.
|
Argument: newElement
|
Data to insert before the head of the list.
|
Returns: newElement
|
::pool::list::prev (list)
|
Argument: list
|
The list to look at.
|
Returns: Everything before the last element of list.
|
::pool::list::projection (list column)
|
|
Argument: list
|
The list to search through.
|
Argument: column
|
Index of the column to extract from list.
|
Returns: A list containing the extracted items.
|
::pool::list::push (listvar args)
|
|
Argument: listvar
|
The name of the variable containing the list to manipulate.
|
Argument: args
|
List of objects to append to the list.
|
Returns: As of 'lappend'.
|
::pool::list::remove (listVar position)
|
|
Argument: listVar
|
The name of variable containing the list to manipulate.
|
Argument: position
|
index of the element to remove.
|
Returns: The changed list.
|
::pool::list::reverse (list)
|
Argument: list
|
the list to manipulate.
|
Returns: Returns the reversed list.
|
::pool::list::select (list indices)
|
|
Argument: list
|
The list to select from, the list to permute.
|
Argument: indices
|
A list containing the indices of the elements to select.
|
Returns: is a list containing the selected elementes, in the order specified by indices.
|
::pool::list::shift (listVar)
|
|
Argument: listVar
|
name of the variable containing the list to manipulate.
|
Returns: The first element of the list stored in listVar, or {} for an empty list. The latter is not a sure signal, as the list may contain empty elements.
|
::pool::list::tail (list)
|
Argument: list
|
The list to look at.
|
Returns: Everything behind the first element of list.
|
::pool::list::uniq (list)
|
|
Argument: list
|
The list to manipulate.
|
Returns: The modified list.
|
::pool::list::unshift (listVar newElement)
|
|
Notes: The same as ::pool::list::prepend, just under a different name.
|
Argument: listVar
|
The name of the variable containing the list to manipulate.
|
Argument: newElement
|
Data to insert before the head of the list.
|
Returns: newElement
|
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries