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
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user