chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Placing "gensyms" in own namespace?


From: felix winkelmann
Subject: Re: [Chicken-users] Placing "gensyms" in own namespace?
Date: Tue, 28 Nov 2006 08:31:18 +0100

On 11/28/06, Kon Lovett <address@hidden> wrote:
Hi Folks,

Looking at the current psyntax source I notice the use of 'gensym?'.
Now, given the Chez Scheme providence, the use of this makes sense.
However, implementing it in Chicken requires changes.


Sorry, I might be a bit on the slow side, but what about

(define (gensym? x)
 (and (symbol? x) (not (##sys#interned-symbol? x))))


cheers,
felix

--
http://galinha.ucpel.tche.br:8081/blog/blog.ssp




reply via email to

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