This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: assq-ref vs assq


Han-Wen Nienhuys <hanwen@cs.uu.nl> writes:

> In any case, could something be done about the order of arguments to
> assq-ref ? It is reversed from that of assq, which is confusing. I
> realize this breaks compatibility, but maybe it could be done when
> there is going to be a big non-compatible upgrade.

the way I see it is that `assq' and friends have unusual argument
order, and the reason for that is apparently backward compatibility.

the argument order of `assq-ref' is consistent with `vector-ref',
`string-ref' etc.

-- 
newsgroup volume is a measure of discontent.                 -- Erik Naggum


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]