pair
|
The pair function constructs a Pair from input argument {obj1} as the
car and the argument {obj2} as the cdr; otherwise void is returned. Usage The pair function is used to create a pair from two objects
(pair obj1 obj2) A Pair
Expression:
Arguments
Name
Type
Description Argument: obj1 Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory Brick Pair List
Matrix NumMatrix Integer Float Number Complex Boolean
Any object (this will become the car). Argument: obj2 Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory Brick Pair List
Matrix NumMatrix Integer Float Number Complex Boolean
Any object (this will become the cdr).
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.
Character | String | Symbol | Vector |
BitVector | ByteVector | IntVector | FltVector |
ObjVector | Structure | Dictionary | Directory |
Brick | Pair | List | 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
|