chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Problem with macros and compilation


From: felix winkelmann
Subject: Re: [Chicken-users] Problem with macros and compilation
Date: Mon, 17 Jan 2005 07:30:55 +0100

On Sun, 16 Jan 2005 23:51:56 +0100, Peter Bex <address@hidden> wrote:
> Hi all,
> 
> When I compile this:
> 
> (require 'generalised-case)
> 
> (case* "test" string=?
>   [("foo" "bar") (display "foo or bar")]
>   [("test") (display "test")]
>   [else (display "other")])
> 
> I get the following errors when compiling using csc:
> Warning: literal in operator position: ("foo" "bar")
> Warning: literal in operator position: ("test")
> 
> In csi it works perfectly (either with or without hygienic macros activated).
> 

Try

(require-for-syntax 'generalised-case)

or:

(require-extension generalised-case)


cheers,
felix




reply via email to

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