On Sat, Aug 24, 2013 at 11:28 AM, Jörg F. Wittenberger
<[email protected]> wrote:
> On Aug 22 2013, Michele La Monaca wrote:
>
>> How can I check if a symbol is bound to a value?
>
>
> Oleg Kiselyov's receipe might be helpful here:
> http://okmij.org/ftp/Scheme/macro-symbol-p.txt
Intriguing reading material, thanks. But isn't my proposed approach a
much simpler solution?
(define-syntax symbol??
(syntax-rules ()
((_ x) (if (symbol? 'x) #t #f))))
It passes all Kiselyov's tests.
Michele
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users