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: Patches for alist.c



> * eliminated some redundant SCM_NIMP calls.

Woo hoo!!!  :)

> Some general remarks and ideas that came across my mind while I applied
> these changes:
> 
> Operand order:
> * The RxRS functions assq, assv and assoc expect the parameters in the
>   order (assq key alist).  In contrast, ass[qv(oc)]-ref use a reverted
>   parameter order.

The idea here (I don't know if it was a good one) was to conform to an
existing pattern of argument order for -ref / -set! / -remove!
functions, shared by hash functions, and list functions, I think.

It's a pity that it conflicts with RxRS, though.

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