setCar
|
The setCar function sets the car component of the argument {obj} to
the value of the expression {exp}, and returns the value. The argument {obj}
must be a Pair. Usage The setCar function is used to set the car of a Pair or List.
(setCar pair exp ) The updated Pair. (setCar pair exp ) The updated List.
Expression:
Arguments
Name
Type
Description Argument: pair Pair
The Pair to be modified
Returns:
Expression:
Arguments
Name
Type
Description Argument: list List
The List to be modified
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
Pair | List | Character | String |
Symbol | Vector | BitVector | ByteVector |
IntVector | FltVector | ObjVector | Structure |
Dictionary | Directory | Matrix | NumMatrix |
Integer | Float | Number | Complex |
Boolean |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|