make_cell_ (SCM type, SCM car, SCM cdr)
{
SCM x = alloc (1);
-#if __GNUC__
assert (TYPE (type) == TNUMBER);
-#endif
TYPE (x) = VALUE (type);
if (VALUE (type) == TCHAR || VALUE (type) == TNUMBER) {
if (car) CAR (x) = CAR (car);
list_of_char_equal_p (SCM a, SCM b) ///((internal))
{
while (a != cell_nil && b != cell_nil && VALUE (car (a)) == VALUE (car (b))) {
-#if __GNUC__
assert (TYPE (car (a)) == TCHAR);
assert (TYPE (car (b)) == TCHAR);
-#endif
a = cdr (a);
b = cdr (b);
}
append2 (SCM x, SCM y)
{
if (x == cell_nil) return y;
-#if __GNUC__
assert (TYPE (x) == TPAIR);
-#endif
return cons (car (x), append2 (cdr (x), y));
}
SCM
set_car_x (SCM x, SCM e)
{
-#if __GNUC__
assert (TYPE (x) == TPAIR);
-#endif
CAR (x) = e;
return cell_unspecified;
}