The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.lisp
From: g...@jpl.nasa.gov (Erann Gat)
Date: 2000/02/25
Subject: Re: More Scope...
In article <3160482077049...@naggum.no>, Erik Naggum <e...@naggum.no> wrote: It takes a pretty smart implementation of Common Lisp to actually > (1) common-lisp-user > ;; In Lisp Listener #2 > (2) common-lisp-user > (defun foobar (x) > (values x (symbol-value 'x))) > => foobar > (3) common-lisp-user > (setq x 666) > => 666 > (4) common-lisp-user > (foobar 4711) > => 4711 > => 666 > (5) common-lisp-user > (defvar x 69) > => x > (6) common-lisp-user > (foobar 4711) > => 4711 > => 4711 produce this result as presented. In most systems you'll have to recompile FOOBAR after DEFVARing X to see the result: ? (defun foo (x) (values x (symbol-value 'x))) This was MCL 4.3. Erann Gat You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||