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:

> `assq'  and friends are in r4rs, so I guess that's standard.

yes.  but it's not _the_ standard, since `vector-ref' and `string-ref' 
are also in r[45]rs.

me, I came to expect a certain argument order from functions whose
name ends with `-ref' -- it's pretty unambiguous.  the only exception
I'm aware of is `array-ref' in SCM/Guile, and I think it's just
improperly named. ;)

-- 
All ITS machines now have hardware for a new machine instruction --
BOT
Branch On Tree.
Please update your programs.


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