[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: JPG at MIT-MC, WGD at MIT-MC
- From: Jon L White <JONL at MIT-MC>
- Date: Thu, 3 Sep 81 19:55:00 GMT
- Cc: BUG-LISP at MIT-MC, MACSYMA-I at MIT-MC, GCOOK at MIT-MC
- Original-date: 3 September 1981 15:55-EDT
Date: 3 September 1981 07:08-EDT
From: Jeffrey P. Golden <JPG at MIT-MC>
Oops! As it may be argued that the example in my last mail does
exhibit "differing declarations", as the first occurrence of X is
not declared FLONUM, please replace the example by
(defun f (x)
(declare (flonum x))
((lambda (x)
(declare (flonum x))
(times x ((lambda (x)
(declare (flonum x))
(times x x))
x)))
(sin x)))
This one fails in the same way anyway.
Yup, your're right. I suspect that fixing COMPLR to ignore the
*consistent* re-declarations wouldn't be any trouble at all.
Maybe with a little more thought, fixing it for overriding
declarations could be worked in too. Overrides of NOTYPE are
harder to do since NOTYPE generally means the absence of
other declarations -- getting this part would involve a little
more work, but I'll look into it after returning from England.