chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] 4.8.0.5 syntax weirdness


From: Peter Bex
Subject: Re: [Chicken-users] 4.8.0.5 syntax weirdness
Date: Mon, 10 Mar 2014 15:27:30 +0100
User-agent: Mutt/1.4.2.3i

On Mon, Mar 10, 2014 at 03:22:04PM +0100, Sandra Snan wrote:
> > (begin-for-syntax (use s))
> 
> Unfortunately, this gives me
> “Error: unbound variable: use”

Sorry, I always forget about that.  The default syntax environment
only contains the "scheme" module, whereas "use" is part of "chicken".
The correct incantation is:

(begin-for-syntax 
  (import chicken)
  (use s))

> > Or, in newer CHICKENs:
> > 
> > (use-for-syntax s)
> 
> and this gives me “Error: unbound variable: use-for-syntax”

I think that's not available in a release yet.  We're close to releasing
4.9.0 though and hopefully we can make a first release candidate
sometime this month.

Cheers,
Peter
-- 
http://www.more-magic.net



reply via email to

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