Ar an cúigiú lá is fiche de mí Eanair, scríobh Stephen J. Turnbull:
Aidan Kehoe writes:
> It’s available in Common Lisp. I don’t see any win to being
> incompatible with Common Lisp in this, and if we’re going to be
> compatible, we may as well document it.
>
> Ugh, though, GNU always return nil. Maybe I can submit a bug report
> to them.
GNU compatibility is preferable to CL compatibility. Please do submit
the feature request (also for documenting puthash's return value),
maybe we can have the best of both worlds.
Thien-Thi Nguyen, in
http://mid.gmane.org/87y7ae6x44.fsf@ambire.localdomain
(which has yet to show up) tells me that he’s just changed #'clrhash to
return the table. Ah, there we are:
http://cvs.savannah.gnu.org/viewvc/emacs/src/fns.c?root=emacs&r1=1.43...
I didn’t mention documenting puthash’s return value.
> > Is it obvious that returning VALUE is the right thing?
What Would
> > Common Lisp Do?
>
> It would use #'setf instead--that’s what the hyperspec describes, and
> the implementation at telnet
prompt.franz.com tells me that puthash
> isn’t bound.
>
> GNU return VALUE, but don’t document it.
Good enough for me. Ship it. Oh, sorry, that's my job. One more
time -- at least. ;-)
Thanks for checking!
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches