* Return value of hashq-set!
@ 2011-10-18 21:40 David Kastrup
2011-10-19 21:58 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: David Kastrup @ 2011-10-18 21:40 UTC (permalink / raw)
To: guile-devel
Hi,
in guile 1.8.?, hashq-set! returns the set value. That is quite
inconsistent with the behavior of set! (which returns SCM_UNSPECIFIED)
and undocumented as well. A good reason for that?
--
David Kastrup
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Return value of hashq-set!
2011-10-18 21:40 Return value of hashq-set! David Kastrup
@ 2011-10-19 21:58 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2011-10-19 21:58 UTC (permalink / raw)
To: guile-devel
Hi,
David Kastrup <dak@gnu.org> skribis:
> in guile 1.8.?, hashq-set! returns the set value. That is quite
> inconsistent with the behavior of set! (which returns SCM_UNSPECIFIED)
> and undocumented as well. A good reason for that?
No idea. That’s also the case in 2.0, FWIW.
What about documenting it?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-19 21:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-18 21:40 Return value of hashq-set! David Kastrup
2011-10-19 21:58 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).