Changeset 4165
- Timestamp:
- 10/01/03 22:56:43 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/lisp/Primitives.java
r4163 r4165 3 3 * 4 4 * Copyright (C) 2002-2003 Peter Graves 5 * $Id: Primitives.java,v 1.45 6 2003-10-01 21:29:45piso Exp $5 * $Id: Primitives.java,v 1.457 2003-10-01 22:56:43 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 3050 3050 // ### function 3051 3051 private static final SpecialOperator FUNCTION = 3052 new SpecialOperator("function") { 3052 new SpecialOperator("function") 3053 { 3053 3054 public LispObject execute(LispObject args, Environment env) 3054 3055 throws ConditionThrowable … … 3069 3070 if (arg.car() == Symbol.LAMBDA) 3070 3071 return new Closure(arg.cadr(), arg.cddr(), env); 3072 if (arg.car() == Symbol.SETF) { 3073 LispObject f = get(checkSymbol(arg.cadr()), 3074 PACKAGE_SYS.intern("SETF-FUNCTION")); 3075 if (f instanceof Function) 3076 return f; 3077 } 3071 3078 } 3072 3079 throw new ConditionThrowable(new UndefinedFunction(arg));
Note: See TracChangeset
for help on using the changeset viewer.