|
c..r
|
The c..r notation is a shorthand notation to represent the all the combinations
of nested car and cdr function calls. The "...." may be any combination of the letters
a and d up to four letters long. Each of the c..r functions
apply an appropriate sequence of car and cdr functions to a List
(a set of Pairs linked together) and returns the result. All of these functions are evaluated from right to left. When to use The c..r functions are a useful shortcut to replacing several nested car and
cdr functions that are applied on the same list.
(cadr list ) (caar list ) (cadar list) The result expression after applying the car and cdr.
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 list The target list. List
Returns:
Examples
Argument Types
List
How do I contact the AIS team?