Menu

#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


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.