Re: Misc. questions and bugs

From: Shiro Kawai <shiro_at_squareusa.com>
Date: Fri, 04 Jun 1999 05:19:21 -1000 (HST)

just one point...

From: "Ben L. Di Vito" <bld_at_air57.larc.nasa.gov>
Subject: Misc. questions and bugs
Date: Fri, 4 Jun 1999 09:37:01 -0400 (EDT)

> - The use of generic procedures to implement recognizer predicates for
> STklos objects didn't work for me. Consider:
>
> (define-class obj () ((comp1 :initform 0)))
> (define-method obj? (x <obj>) #t)

I assume you meant `obj' instead of `<obj>' in the define-method form.
Still you need to say

(define-method obj? ((x obj)) #t)

And it works on my machine.

--
Shiro KAWAI
  Square USA Inc.   Honolulu Studio R&D division
#"The most important things are the hardest things to say" --- Stephen King
Received on Fri Jun 04 1999 - 17:20:32 CEST

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