|
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. When to use The pair function is used to create a pair from two objects
(pair obj1 obj2) A Pair
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. 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 obj1 Any object (this will become the car). Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory Brick Pair List
Matrix NumMatrix Integer Float Number Complex Boolean obj2 Any object (this will become the cdr). Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory Brick Pair List
Matrix NumMatrix Integer Float Number Complex Boolean
Returns:
Examples
Argument Types
Character
String
Symbol
Vector
BitVector
ByteVector
IntVector
FltVector
ObjVector
Structure
Dictionary
Directory
Brick
Pair
List
Matrix
NumMatrix
Integer
Float
Number
Complex
Boolean
How do I contact the AIS team?