This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GSOC | Extending Common Lisp support


On 06/03/2012 02:19 AM, Jamison Hope wrote:
On Jun 2, 2012, at 6:46 PM, I wrote:

On a related note, occasionally the "no declaration seen for" warning is
just plain wrong:

$ cat /tmp/test.lisp
(defvar foo 42)
(write foo) (newline)
...
$ cat /tmp/test.scm
(define x "hello")
(define (y) 1)
(write (y)) (newline)
(write x) (newline)
(write y) (newline)

For what it's for worth: defvar is closer to define-variable, as it creates a dynamic variable. However, using define-variable doesn't cuause a warning in Scheme


-- --Per Bothner per@bothner.com http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]