how to solve <<error printing object>>

Jacek Podkanski via Sbcl-help <[email protected]> Thu, 2 Apr 2026 00:40:25 +0100
Newsgroups gmane.lisp.steel-bank.general
Message-ID <CAE9ibtotfYouDs2gp0GzW=1xuCsk4Y1tfttYqn0tXdCw2xnOwA@mail.gmail.com>
--===============2956577136654914214==
Content-Type: multipart/alternative; boundary="0000000000007e0335064e6e9c66"

--0000000000007e0335064e6e9c66
Content-Type: text/plain; charset="UTF-8"

I am looking for guidelines on solving  <<error printing object>> error.

I am trying to learn CLOS parts related to relationships between objects.

I tried to model ancient family relations where some lived in monogamous
and some polygamous relationships. And it's not simple.

I suspect there is going in circles involved, but I have no idea how to
solve it.

I can provide full source if needed.

;;; === classes =================
(defclass/std arb ()
  ((id)))

(defclass/std person (arb)
  ((name :type string)
   (mother)
   (father)
   (children)))

(defclass/std male   (person)
  ((wives)))

--0000000000007e0335064e6e9c66
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I am looking for guidelines on solving=C2=A0=C2=A0&lt;&lt;=
error printing object&gt;&gt; error.<div><br></div><div>I am trying to lear=
n CLOS parts related to relationships between objects.</div><div><br></div>=
<div>I tried to model ancient family relations where some lived in monogamo=
us and some polygamous relationships. And it&#39;s not simple.=C2=A0</div><=
div><br></div><div>I suspect there is going in circles involved, but I have=
 no idea how to solve it.</div><div><br></div><div>I can provide full sourc=
e if needed.</div><div><br></div><div>;;; =3D=3D=3D classes =3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>(defclass/std arb ()<br>=C2=A0 ((id=
)))<br><br>(defclass/std person (arb)<br>=C2=A0 ((name :type string)<br>=C2=
=A0 =C2=A0(mother)<br>=C2=A0 =C2=A0(father)<br>=C2=A0 =C2=A0(children)))<br=
><br>(defclass/std male =C2=A0 (person)<br>=C2=A0 ((wives)))<br></div></div=
>

--0000000000007e0335064e6e9c66--


--===============2956577136654914214==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============2956577136654914214==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Sbcl-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-help

--===============2956577136654914214==--