Hi Stephen,
Yeah, I guess you're right. Like I said, I'm new to the whole idea of
macros, and I'm kind of looking for a really good use-case for the
things. Can you suggest a non-contrived situation in which a macro
would be the best solution?
Regards,
Jon
Stephen Compall wrote:
On Wed, 2005-1
Hi y'all,
The following doesn't seem correct.
We have an association list defined such that:
(assoc '+ forms)
=>
(+ . "+")
But,
(assoc-ref '+ forms)
=>
#f
However, if we look at how assoc-ref is supposed to be defined
according to the guile manual
("http://www.gnu.org/software/guile/docs/gui
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