Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Dynamic binding
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kent M Pitman  
View profile  
 More options Mar 21 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Kent M Pitman <pit...@world.std.com>
Date: 1999/03/21
Subject: Re: Dynamic binding
"His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated" <xenop...@irtnog.org> writes:

> I'm not certain I understand dynamic binding correctly.  Here's the
> example code I cooked up (being run under ACL5 on Linux):

> (DEFVAR B 1)
> => B

This declares B special in all subsequent uses, whether or not there
is an accompanying declare.  It can't be retracted nor lexically shadowed.
(It can be shadowed by making a new package, of course.)

> (DEFUN BAZ (B) (DECLAIM (SPECIAL B)) (FOO 'A))
> => BAZ

Use DECLAIM only at top-level.  Doing it in a program won't do what
you expect.  Use only DECLARE in programs.  Use either DECLAIM or
PROCLAIM at top-level.

 
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.