next up previous
Next: 4.3.1 cons Up: 4 Xlispの組込み関数の定義 Previous: 4.2 Atom, symbolp etc

4.3 Car, Cdr


LVAL xcar()
{
    LVAL list;
    list = xlgalist();
    xllastarg();
    return (list ? car(list) : NIL);
}

LVAL xcdr()
{
    LVAL list;
    list = xlgalist();
    xllastarg();
    return (list ? cdr(list) : NIL);
}




generated through LaTeX2HTML. M.Inaba 平成18年5月6日