Okay, I understand. Thanks for the answer.
On Oct 29, 12:01 pm, "Graham Fawcett" <[EMAIL PROTECTED]>
wrote:
> On Wed, Oct 29, 2008 at 2:29 PM, samppi <[EMAIL PROTECTED]> wrote:
>
> > Is there a way to test an object if it's a certain kind of struct?
>
> > (defstruct person :name :age)
> > (def
On Wed, Oct 29, 2008 at 2:29 PM, samppi <[EMAIL PROTECTED]> wrote:
>
> Is there a way to test an object if it's a certain kind of struct?
>
> (defstruct person :name :age)
> (def president (struct person "Sam" 30))
> (struct? person president) ; true
Hi,
Defstruct doesn't define a new type in
Is there a way to test an object if it's a certain kind of struct?
(defstruct person :name :age)
(def president (struct person "Sam" 30))
(struct? person president) ; true
Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are s