Artifact 86b1e6175c44de89f0c9b6e42a95914f8f807cd7a42beceb8458aaf8a82106ad:
- Executable file
r37/lisp/csl/jlisp/ReverseFn.java
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 275) [annotate] [blame] [check-ins using] [more...]
class ReverseFn extends BuiltinFunction { public LispObject op1(LispObject arg1) { LispObject r = Jlisp.nil; while (!arg1.atom) { LispObject a = arg1; r = new Cons(a.car, r); arg1 = a.cdr; } return r; } }