lib/list-selectors.x
Optional compound List selectors.
Primary API
| Function | Summary |
|---|---|
List.caaaar | Returns the element that caaaar selects from value. |
List.caaadr | Returns the element that caaadr selects from value. |
List.caaar | Returns the element that caaar selects from value. |
List.caadar | Returns the element that caadar selects from value. |
List.caaddr | Returns the element that caaddr selects from value. |
List.caadr | Returns the element that caadr selects from value. |
List.cadaar | Returns the element that cadaar selects from value. |
List.cadadr | Returns the element that cadadr selects from value. |
List.cadar | Returns the element that cadar selects from value. |
List.caddar | Returns the element that caddar selects from value. |
List.cadddr | Returns the element that cadddr selects from value. |
List.cdaaar | Returns the tail that cdaaar selects from value. |
List.cdaadr | Returns the tail that cdaadr selects from value. |
List.cdaar | Returns the tail that cdaar selects from value. |
List.cdadar | Returns the tail that cdadar selects from value. |
List.cdaddr | Returns the tail that cdaddr selects from value. |
List.cdadr | Returns the tail that cdadr selects from value. |
List.cdar | Returns the tail that cdar selects from value. |
List.cddaar | Returns the tail that cddaar selects from value. |
List.cddadr | Returns the tail that cddadr selects from value. |
List.cddar | Returns the tail that cddar selects from value. |
List.cdddar | Returns the tail that cdddar selects from value. |
List.cddddr | Returns the tail that cddddr selects from value. |
List.cdddr | Returns the tail that cdddr selects from value. |
Var.caaaar | Returns the element that caaaar selects from value as a List. |
Var.caaadr | Returns the element that caaadr selects from value as a List. |
Var.caaar | Returns the element that caaar selects from value as a List. |
Var.caadar | Returns the element that caadar selects from value as a List. |
Var.caaddr | Returns the element that caaddr selects from value as a List. |
Var.caadr | Returns the element that caadr selects from value as a List. |
Var.cadaar | Returns the element that cadaar selects from value as a List. |
Var.cadadr | Returns the element that cadadr selects from value as a List. |
Var.cadar | Returns the element that cadar selects from value as a List. |
Var.caddar | Returns the element that caddar selects from value as a List. |
Var.cadddr | Returns the element that cadddr selects from value as a List. |
Var.cdaaar | Returns the tail that cdaaar selects from value as a List. |
Var.cdaadr | Returns the tail that cdaadr selects from value as a List. |
Var.cdaar | Returns the tail that cdaar selects from value as a List. |
Var.cdadar | Returns the tail that cdadar selects from value as a List. |
Var.cdaddr | Returns the tail that cdaddr selects from value as a List. |
Var.cdadr | Returns the tail that cdadr selects from value as a List. |
Var.cdar | Returns the tail that cdar selects from value as a List. |
Var.cddaar | Returns the tail that cddaar selects from value as a List. |
Var.cddadr | Returns the tail that cddadr selects from value as a List. |
Var.cddar | Returns the tail that cddar selects from value as a List. |
Var.cdddar | Returns the tail that cdddar selects from value as a List. |
Var.cddddr | Returns the tail that cddddr selects from value as a List. |
Var.cdddr | Returns the tail that cdddr selects from value as a List. |
List
List.caaaar
Var List.caaaar(List value)
Returns the element that caaaar selects from value.
Source: lib/list-selectors.x:81
List.caaadr
Var List.caaadr(List value)
Returns the element that caaadr selects from value.
Source: lib/list-selectors.x:81
List.caaar
Var List.caaar(List value)
Returns the element that caaar selects from value.
Source: lib/list-selectors.x:81
List.caadar
Var List.caadar(List value)
Returns the element that caadar selects from value.
Source: lib/list-selectors.x:81
List.caaddr
Var List.caaddr(List value)
Returns the element that caaddr selects from value.
Source: lib/list-selectors.x:81
List.caadr
Var List.caadr(List value)
Returns the element that caadr selects from value.
Source: lib/list-selectors.x:81
List.cadaar
Var List.cadaar(List value)
Returns the element that cadaar selects from value.
Source: lib/list-selectors.x:81
List.cadadr
Var List.cadadr(List value)
Returns the element that cadadr selects from value.
Source: lib/list-selectors.x:81
List.cadar
Var List.cadar(List value)
Returns the element that cadar selects from value.
Source: lib/list-selectors.x:81
List.caddar
Var List.caddar(List value)
Returns the element that caddar selects from value.
Source: lib/list-selectors.x:81
List.cadddr
Var List.cadddr(List value)
Returns the element that cadddr selects from value.
Source: lib/list-selectors.x:81
List.cdaaar
List List.cdaaar(List value)
Returns the tail that cdaaar selects from value.
Source: lib/list-selectors.x:81
List.cdaadr
List List.cdaadr(List value)
Returns the tail that cdaadr selects from value.
Source: lib/list-selectors.x:81
List.cdaar
List List.cdaar(List value)
Returns the tail that cdaar selects from value.
Source: lib/list-selectors.x:81
List.cdadar
List List.cdadar(List value)
Returns the tail that cdadar selects from value.
Source: lib/list-selectors.x:81
List.cdaddr
List List.cdaddr(List value)
Returns the tail that cdaddr selects from value.
Source: lib/list-selectors.x:81
List.cdadr
List List.cdadr(List value)
Returns the tail that cdadr selects from value.
Source: lib/list-selectors.x:81
List.cdar
List List.cdar(List value)
Returns the tail that cdar selects from value.
Source: lib/list-selectors.x:81
List.cddaar
List List.cddaar(List value)
Returns the tail that cddaar selects from value.
Source: lib/list-selectors.x:81
List.cddadr
List List.cddadr(List value)
Returns the tail that cddadr selects from value.
Source: lib/list-selectors.x:81
List.cddar
List List.cddar(List value)
Returns the tail that cddar selects from value.
Source: lib/list-selectors.x:81
List.cdddar
List List.cdddar(List value)
Returns the tail that cdddar selects from value.
Source: lib/list-selectors.x:81
List.cddddr
List List.cddddr(List value)
Returns the tail that cddddr selects from value.
Source: lib/list-selectors.x:81
List.cdddr
List List.cdddr(List value)
Returns the tail that cdddr selects from value.
Source: lib/list-selectors.x:81
Var
Var.caaaar
Var Var.caaaar(Var value)
Returns the element that caaaar selects from value as a List.
Source: lib/list-selectors.x:81
Var.caaadr
Var Var.caaadr(Var value)
Returns the element that caaadr selects from value as a List.
Source: lib/list-selectors.x:81
Var.caaar
Var Var.caaar(Var value)
Returns the element that caaar selects from value as a List.
Source: lib/list-selectors.x:81
Var.caadar
Var Var.caadar(Var value)
Returns the element that caadar selects from value as a List.
Source: lib/list-selectors.x:81
Var.caaddr
Var Var.caaddr(Var value)
Returns the element that caaddr selects from value as a List.
Source: lib/list-selectors.x:81
Var.caadr
Var Var.caadr(Var value)
Returns the element that caadr selects from value as a List.
Source: lib/list-selectors.x:81
Var.cadaar
Var Var.cadaar(Var value)
Returns the element that cadaar selects from value as a List.
Source: lib/list-selectors.x:81
Var.cadadr
Var Var.cadadr(Var value)
Returns the element that cadadr selects from value as a List.
Source: lib/list-selectors.x:81
Var.cadar
Var Var.cadar(Var value)
Returns the element that cadar selects from value as a List.
Source: lib/list-selectors.x:81
Var.caddar
Var Var.caddar(Var value)
Returns the element that caddar selects from value as a List.
Source: lib/list-selectors.x:81
Var.cadddr
Var Var.cadddr(Var value)
Returns the element that cadddr selects from value as a List.
Source: lib/list-selectors.x:81
Var.cdaaar
List Var.cdaaar(Var value)
Returns the tail that cdaaar selects from value as a List.
Source: lib/list-selectors.x:81
Var.cdaadr
List Var.cdaadr(Var value)
Returns the tail that cdaadr selects from value as a List.
Source: lib/list-selectors.x:81
Var.cdaar
List Var.cdaar(Var value)
Returns the tail that cdaar selects from value as a List.
Source: lib/list-selectors.x:81
Var.cdadar
List Var.cdadar(Var value)
Returns the tail that cdadar selects from value as a List.
Source: lib/list-selectors.x:81
Var.cdaddr
List Var.cdaddr(Var value)
Returns the tail that cdaddr selects from value as a List.
Source: lib/list-selectors.x:81
Var.cdadr
List Var.cdadr(Var value)
Returns the tail that cdadr selects from value as a List.
Source: lib/list-selectors.x:81
Var.cdar
List Var.cdar(Var value)
Returns the tail that cdar selects from value as a List.
Source: lib/list-selectors.x:81
Var.cddaar
List Var.cddaar(Var value)
Returns the tail that cddaar selects from value as a List.
Source: lib/list-selectors.x:81
Var.cddadr
List Var.cddadr(Var value)
Returns the tail that cddadr selects from value as a List.
Source: lib/list-selectors.x:81
Var.cddar
List Var.cddar(Var value)
Returns the tail that cddar selects from value as a List.
Source: lib/list-selectors.x:81
Var.cdddar
List Var.cdddar(Var value)
Returns the tail that cdddar selects from value as a List.
Source: lib/list-selectors.x:81
Var.cddddr
List Var.cddddr(Var value)
Returns the tail that cddddr selects from value as a List.
Source: lib/list-selectors.x:81
Var.cdddr
List Var.cdddr(Var value)
Returns the tail that cdddr selects from value as a List.
Source: lib/list-selectors.x:81
Design notes
The prelude keeps car, cdr, caar, cadr, cddr, and caddr. Include this
module for the remaining Common Lisp selector spellings through depth 4.
Names read from right to left: a applies car and d applies cdr. Every
step is nil-safe, and selected tails share their canonical List
structure.
Tests and examples
make verify (unittest/test-list.x).