Re: How to handle these warnings?

Sam Steingold <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <[email protected]>
Hi Daniel,

> * Daniel Jour <[email protected]> [2017-07-19 22:57:40 +0000]:
>
> Note that this may lead to situations where loading the exact same code
> will lead to different results, depending on previous definitions:

This is already the case.
If you have a file with

(defun f (x) (lambda () (print x)))
(funcall (f 10))

then loading it will print 10.
If, however, you evaluate (defparameter x 100) before loading it, it
will print 100.

Note that the standard does NOT provide a way to revert the effects of
defvar or defparameter.

Note also the this whole conversation is related to warnings only, not
the actual effect of the code.

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504
http://steingoldpsychology.com http://www.childpsy.net
http://www.memritv.org http://honestreporting.com http://camera.org
Two wrongs don't make a right, but three rights make a left.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.