On Mon, Nov 14, 2005 at 08:00:13PM -0600, Jon Wilson wrote:
> Hi y'all,
> The following doesn't seem correct.
> We have an association list defined such that:
> 
> (assoc '+ forms)
> =>
> (+ . "+")
> 
> But,
> 
> (assoc-ref '+ forms)
> =>
> #f

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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Guile-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to