Guile Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

assoc-ref and family



Greg Badros writes:
 > Why is it that assoc takes KEY ALIST, whereas assoc-ref (and all the
 > other guile alist procs) takes the arguments in the reverse order: ALIST 
 > KEY?  Is this historical?  Since RnRS demands KEY ALIST, it seems it'd
 > be nicer if assoc-ref used the same ordering.  Or at least the

No, it's nice that assoc-ref uses the same order as vector-ref or string-ref,
so nothing unusual.
--
Klaus Schilling

Guile Home | Main Index | Thread Index