|
|
Examples of mapping | We will now study a number of examples. |
| In the first row we map the string? predicate on a list of atoms (number, symbols, and strings). This
reveals (in terms of boolean values) which of the elements that are strings.
In the second row of the table, we map a 'multiply with 2' function on a list of numbers. |