<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/07/a6ba0ce22f3d5db7ef94de3a44da9825"
  from="zze-MARCHEGAY Michael stagiaire FTRD/DTL/LAN &lt;michael.marchegay@r...&gt;"
  author="zze-MARCHEGAY Michael stagiaire FTRD/DTL/LAN"
  date="2002-07-15T10:07:00"
  subject="[Caml-list] Deep copy"
  prev="2002/07/0b3b47e0634faa28e483cc3e08503429"
  next="2002/07/b11bb354506dff6a9f5ca7d09911a3cf"
  next-in-thread="2002/07/b11bb354506dff6a9f5ca7d09911a3cf"
  prev-thread="2002/07/9c344668384b0077ed1732712963cb19"
  next-thread="2002/07/f588263f2499215c76c4696e61086612"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Deep copy">
<msg 
  url="2002/07/a6ba0ce22f3d5db7ef94de3a44da9825"
  from="zze-MARCHEGAY Michael stagiaire FTRD/DTL/LAN &lt;michael.marchegay@r...&gt;"
  author="zze-MARCHEGAY Michael stagiaire FTRD/DTL/LAN"
  date="2002-07-15T10:07:00"
  subject="[Caml-list] Deep copy">
<msg 
  url="2002/07/b11bb354506dff6a9f5ca7d09911a3cf"
  from="Ken Wakita &lt;wakita@i...&gt;"
  author="Ken Wakita"
  date="2002-07-15T13:42:46"
  subject="Re: [Caml-list] Deep copy">
<msg 
  url="2002/07/8e03aea7ddb74b19231e38254700e303"
  from="Eray Ozkural &lt;erayo@c...&gt;"
  author="Eray Ozkural"
  date="2002-07-15T14:49:56"
  subject="Re: [Caml-list] Deep copy">
<msg 
  url="2002/07/b5f2a4fd55e3a1d98291199ad89dbc71"
  from="Ken Wakita &lt;wakita@i...&gt;"
  author="Ken Wakita"
  date="2002-07-15T15:34:11"
  subject="Re: [Caml-list] Deep copy">
</msg>
</msg>
<msg 
  url="2002/07/c97184ca9272fc14c7e26e7d28a7f6ca"
  from="Ken Wakita &lt;wakita@i...&gt;"
  author="Ken Wakita"
  date="2002-07-15T23:09:35"
  subject="Re: [Caml-list] Deep copy">
</msg>
</msg>
<msg 
  url="2002/07/a015dff01822b58f3bda38298a9a737c"
  from="Eray Ozkural &lt;erayo@c...&gt;"
  author="Eray Ozkural"
  date="2002-07-15T15:08:42"
  subject="Re: [Caml-list] Deep copy">
<msg 
  url="2002/07/4f925d88bf549c83906ef318da735378"
  from="Nicolas Cannasse &lt;warplayer@f...&gt;"
  author="Nicolas Cannasse"
  date="2002-07-15T15:28:48"
  subject="Re: [Caml-list] Deep copy">
<msg 
  url="2002/07/25cf95bd60ca67c507865c9452ae232e"
  from="Eray Ozkural &lt;erayo@c...&gt;"
  author="Eray Ozkural"
  date="2002-07-15T15:46:14"
  subject="Re: [Caml-list] Deep copy">
</msg>
</msg>
</msg>
<msg 
  url="2002/07/a26dafef4b887630fd93241adaf9e1e6"
  from="sebastien FURIC &lt;sebastien.furic@t...&gt;"
  author="sebastien FURIC"
  date="2002-07-15T16:23:30"
  subject="Re: [Caml-list] Deep copy">
</msg>
</msg>
</thread>

<contents>
Hi all,

I'm writting a program that manipulates a graph structure and I need to make
deep copies of some of the graph nodes. The function Oo.copy donesn't perform
a deep copy and I haven't found any other that could make it.

Actually, the nodes of my graph are specified using a lot inheritance, and if
I want to write specific "copy" methods for them, I will need to disperse the
clonning actions downto the leaf of my inheritance tree.

So I'd like to know is there is a clean way to make a deep copy of any object.

Thank you.

--
Michaël Marchegay, Stagiaire France Telecom R&amp;D du 11/02/2002 au 26/07/2002
Sous la responsabilité d'Olivier Dubuisson
DTL/TAL - 22307 Lannion Cedex - France
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

