Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion FUNCALL question
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
 
Erann Gat  
View profile  
 More options Feb 3 1990, 4:47 am
Newsgroups: comp.lang.lisp
From: g...@robotics.Jpl.Nasa.Gov (Erann Gat)
Date: 2 Feb 90 17:28:24 GMT
Local: Fri, Feb 2 1990 12:28 pm
Subject: Re: FUNCALL question

In article <2...@papaya.bbn.com>, b...@bbn.com (Hunter Barr) writes:
> You wouldn't want
> to (UN-DEFVAR *PRINT-BASE*) would you?  Now that *would* cause some
> problems.

I see your point.  I guess my real gripe is that there is no way to
guarantee that a given variable is lexically scoped.  I would like
to be able to do something like:

(let ((x 1)) (declare (lexical x)) ...

but CL has no such declaration.  Granted, if you use the star convention
(and everyone else on your Lisp machine uses it too) then you probably
won't have problems.  (This 'solution' is strongly reminiscent of the
FORTRAN convention of having all variables beginning with I,J,K,L,M or
N be integers.)  However, the way things stand, one careless mistake or
ignorant user can require a LONG time to fix.  (One day long ago I
typed (defvar x 1) as part of a quick experiment on a TI Explorer
and for the next few days no one could understand why their code
suddenly didn't work.  Then someone rebooted the machine and all the
problems mysteriously vanished.)

E.


    Reply to author    Forward  
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.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google