<?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="2003/11/1d87c05e41bbe7ce253007f8039e67d7"
  from="pous@e..."
  author="pous@e..."
  date="2003-11-03T17:41:47"
  subject="Re: [Caml-list] Mutually recursive classes"
  prev="2003/11/ef8d11d2a3f4c6fd8183db8286734f46"
  next="2003/11/2be1dd0bb03dbb1d3a23a846c7e57647"
  next-in-thread="2003/11/1ee94b3bad28167b8c0c0b07144c8827"
  prev-thread="2003/11/ef8d11d2a3f4c6fd8183db8286734f46"
  next-thread="2003/11/5bfc54158708ba55850a695ef7c3c554"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Re: [Caml-list] Mutually recursive classes">
<msg 
  url="2003/11/1d87c05e41bbe7ce253007f8039e67d7"
  from="pous@e..."
  author="pous@e..."
  date="2003-11-03T17:41:47"
  subject="Re: [Caml-list] Mutually recursive classes">
<msg 
  url="2003/11/1ee94b3bad28167b8c0c0b07144c8827"
  from="Damien &lt;Damien.Pous@e...&gt;"
  author="Damien"
  date="2003-11-04T17:50:36"
  subject="Re: [Caml-list] Mutually recursive classes">
</msg>
</msg>
</thread>

<contents>
On 3 Nov 2003, Didier Remy wrote:

&gt; It looks similar to the subject/observer pattern.  
&gt; Check Section 5.3 of the OCaml manual as well as my 
&gt; APPSEM course notes
  
It only looks similar...
  
I am working with class _types_ :
This hierarchy is included in a large project, and I need
_readable_ interfaces (as well as _writeable_ :-)

I can't write
"constraint 'a = &lt;an enormous explicit object type as 'b that has
already been written half a dozen times as 'a..&gt;"

Furthermore, my classes _are_ mutually recursive : when I retrieve a   
parent from its child, I want a "full-featured parent" (and vice-versa)
 
damien    
 

-------------------
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>

