parrotcode: list processing macros | |
Contents | Language Implementations | Common Lisp |
include/macros/list.pir - list processing macros
This file contains various list processing macros. All macro arguments are assumed to be PMC types unless otherwise noted.
Branch to B if L is an empty list.
Puts the car of A into R. A is assumed to be a valid list.
Appends B to list A, placing the result into R. A is assumed to be a valid list.
Puts the cdr of A into R. A is assumed to be a valid list.
Puts the second element of A into R. A is assumed to be a valid list.
Puts the third element of A into R. A is assumed to be a valid list.
Puts the fourth element of A into R. A is assumed to be a valid list.
Creates a one element list containing A, placing the result in R.
Creates a two element list containing A and B, placing the result in R.
|