Ticket #236: eval.diff

File eval.diff, 474 bytes (added by Stassats, 9 years ago)
  • Lisp.java

     
    520520          }
    521521        else
    522522          {
    523             if (first.car() == Symbol.LAMBDA)
     523            if (first instanceof Cons && first.car() == Symbol.LAMBDA)
    524524              {
    525525                Closure closure = new Closure(first, env);
    526526                return evalCall(closure, ((Cons)obj).cdr, env, thread);