🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.xerox
Article #223

#, bug in Medley 1.0?

#223
From: tim
Date: Mon, 15 Oct 1990 19:04
20 lines
1031 bytes
Well, I can never tell with these obscure read macros, but I don't
reckon this is right:

I have a file that contains something like this:

(defvar *fooa*)
(defvar *foob*)

(setq *fooa* '(mylist-a))

(setq *foob* '(one #,*fooa* three))

If I compile this, and then load it into a fresh sysout, I reckon I
should get *foob* = (one (mylist-a) three).  But actually I get *foob*
= (one nil three).  Presumably what happens is that *fooa* doesn't get
its value until the whole file is read?  or ?  Anyway I don't think
that's what CLtL intends to happen.  Of course CLtL 2nd ed has taken
away #, altogether!

--tim
Technical Details
Message-ID: <17839.9010151904@kahlo.cstr.ed.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!occrsh!uokmax!apple!sun-barr!cs.utexas.edu!tut.cis.ohio-state.edu!cstr.edinburgh.ac.uk!tim

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!occrsh!uokmax!apple!sun-barr!cs.utexas.edu!tut.cis.ohio-state.edu!cstr.edinburgh.ac.uk!tim
From: tim@cstr.edinburgh.ac.uk
Newsgroups: comp.sys.xerox
Subject: #, bug in Medley 1.0?
Message-ID: <17839.9010151904@kahlo.cstr.ed.ac.uk>
Date: 15 Oct 90 19:04:40 GMT
Sender: welch@tut.cis.ohio-state.edu
Distribution: inet
Organization: GNUs
Lines: 20