File r37/lisp/csl/jlisp/CdrFn.java artifact 205e1afe36 part of check-in f2fda60abd


//24/02/02 created for seeing if I have all tools necessary for Lisp

class CdrFn extends BuiltinFunction
{
    public LispObject op1(LispObject arg1) throws Exception
    {
        if (arg1.atom) return error("Attempt to take cdr of an atom");
        else return arg1.cdr;
    }
}

REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]