|
setCdr
|
The setCdr function sets the cdr component of the argument {list}
to the value of the expression {exp}, and returns the {list} .
The setCdr function is used to set a cdr (tail) of a Structure, Dictionary, Directory, Brick, Vector, Matrix, Pair or List.
(setCdr list exp ) (setCdr pair exp ) The updated Pair or List.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
These examples show the setCdr function set the tail of the List.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types list or pair The Pair or List to be modified Pair List exp A cdr expression Character String Symbol Vector Brick BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory
Matrix NumMatrix Integer Float Number Complex
Returns:
Examples
Argument Types
Character
String
Symbol
Brick
Vector
BitVector
ByteVector
IntVector
FltVector
ObjVector
Structure
Dictionary
Directory
List
ShortVector
Matrix
NumMatrix
Integer
Float
Number
Complex
How do I contact the AIS team?