guile-user
[Top][All Lists]
Advanced

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

Re: association list bug? -- version 1.6.4


From: Jon Wilson
Subject: Re: association list bug? -- version 1.6.4
Date: Tue, 15 Nov 2005 10:49:39 -0600
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050324)

Hi Tomas,

> Heh. The arguments are backwards. You want (assoc-ref forms '+)
>
> Yeah, that has bitten others before you.
>
> Consider vector-ref string-ref, list-ref, which take the vector,
> string, list as first argument.
>
> Regards
> -- tomas

Thanks for pointing that out!

Hmmm, perhaps a special note needs to be included in the documentation, since the argument order is exactly reversed from assoc assv assq.

Or, perhaps in some future version, the argument order for assoc and friends should be changed to match assoc-ref et al.

Regards,
Jon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]