Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 Two minor boot.lisp issues

open
nobody
None
5
2005-03-11
2005-03-11
Mark Hurd
No

__letr (internal to letfn):
If there is no body, the last function defined was returned
as a value -- wrapping ~@body in (block ...) fixes.

map:
Avoid infinite loop when there are no sequences given by
testing for nil rest instead of len == 1.

--

These fixes are included in the boot.lisp available here:

http://www.ozemail.com.au/~markhurd/DotLispPatch.ht
ml

However, that boot.lisp includes my single method class
implementaton, as well as some optimisations, mostly
relying on (first nil) => nil, and a couple of changes to
documented Lisp or DotLisp behaviour, the most
significant being that (reduce f nil) does not call f.

Discussion