This is the mail archive of the mailing list for the Kawa project. See the Kawa home page for more information.

[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: type specifiers for local variables

>OTOH, what about aligning this feature with Common Lisp syntax:
>     (let ((x 10) (y 20) ...) 
>          (declare (type integer x y) ...)
>          ...)

Please do not do this.  I could be wrong but CL type declaration
syntax always struck me as a compromise to be backward compatibile
with existing MacLisp code.  Putting the declaration with the variable
makes it easier (to me at least) to manipulate the code.