instance (id) with (All, All) (a, d);
a
and d
as the car
and cdr
, respectively.
instance (id) cons All a : All d = nil;
a
and d
as the car
and cdr
, respectively. The cdr d
defaults to nil
.
public _builtin_.Any car;
Cons
cell, and the remainder of
the list.
public _builtin_.Any cdr;
protected id (self) init (All, All) (a, d);
boolean consp;
YES
.
(_builtin_.Any, _builtin_.Any) decons;
(car, cdr)
in a tuple.
void set_car All c;
car
to the object c
.
void set_cdr All c;
cdr
to the object c
.
void encodeUsingCoder Encoder coder;
coder
.
boolean equal id other;
TRUE
if the receiving list is equal to the other
list.
Elements are compared with equal
.
void initWithCoder Decoder coder;
coder
.
id member All object;
equal
to the object
.
id memq All object;
member
, but the element is identified on reference equality.
OutputStream write OutputStream s;
Cons
cell is the start, to
the stream s
.
OutputStream writeListElement OutputStream s;
Cons
cell is
an element and not the head, to the stream s
.