Subject: Re: De-facto standard CL implementation of continuations?
From: rpw3@rpw3.org (Rob Warnock)
Date: Fri, 02 Sep 2005 03:10:22 -0500
Newsgroups: comp.lang.lisp
Message-ID: <jKednd3ffIhzlYXeRVn-jQ@speakeasy.net>
Pascal Bourguignon  <spam@mouse-potato.com> wrote:
+---------------
| tfb@conquest.OCF.Berkeley.EDU (Thomas F. Burdick) writes:
| >   (defvar *some-var* 2)
| >   (define-symbol-macro some-var (symbol-value '*some-var*))
| >
| > And now you have some-var, which behaves like a global lexical.
| 
| If it'sa global lexical, non dynamic (special), why do you
| name it with stars?
+---------------

One shouldn't, of course. And when I'm using my DEFLEX macro
[posted separately], I don't:

    > (deflex a 34)

    A
    > (defun value-of-global-a () a)

    VALUE-OF-GLOBAL-A
    > (let ((a 53))
        (list a (value-of-global-a)))

    (53 34)
    > 


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607