Re: Stklos doubt

From: Marco Antoniotti <marcoxa_at_MOSAIC.CS.NYU.EDU>
Date: Tue, 31 Jan 95 14:06:37 EST

   Resent-Date: Tue, 31 Jan 95 17:16:48 GMT
   Resent-Message-Id: <9501311743.AA16536_at_MOSAIC.CS.NYU.EDU>
   Date: Tue, 31 Jan 95 17:16:48 GMT
   From: (Carles Perello)
   X-Mailing-List: <> archive/latest/342
   Precedence: list

   OPs previous message has a typo, the corrected one is:

If STklos behaves like CL (which I hope it does), then you still have
a typo.

   I am just testing the Stklos features and I run thru the
   following problem:

   (define-class <complex> (<number>) ((r :accessor real-part :init-keyword :r)
                                       (i :accessor imag-part :init-keyword :i)))

   STk> #[undefined]
   (define-method complex? (c) #f)
   STk> complex?
   (define-method complex? (c <complex>) #t)

This should be

(define-method complex? ((c <complex>)) #t)

Happy Lisping

Received on Tue Jan 31 1995 - 20:07:42 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST