guile-user
[Top][All Lists]
Advanced

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

Re: Problem with cond macro.


From: Panagiotis Vossos
Subject: Re: Problem with cond macro.
Date: Wed, 17 Apr 2002 03:30:19 +0300
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Joshua Judson Rosen <address@hidden> writes:

> Try using:
>         (use-syntax (ice-9 syncase))
> ... rather than:
>         (use-modules (ice-9 syncase))
> 
> Doing so gets me proper results for not only your example from above, but
> also for the canonical example from r5rs.

Thanks, now I get the expected results.  However, the manual says:

   In Guile, the `syntax-rules' system is provided by the `(ice-9
   syncase)' module.  To make these facilities available in your code,
   include the expression `(use-modules (ice-9 syncase))' or
   `(use-syntax (ice-9 syncase))' (*note Using Guile Modules::) before
   the first usage of `define-syntax' etc.

,so I guess it is a bug with the manual.

panagiotis



reply via email to

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