From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA26226; Wed, 17 Apr 2002 14:05:32 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA30752 for ; Wed, 17 Apr 2002 14:05:31 +0200 (MET DST) Received: from p-mail2.rd.francetelecom.com (p-mail2.rd.francetelecom.com [193.49.124.32]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id g3HC5RX09383 for ; Wed, 17 Apr 2002 14:05:31 +0200 (MET DST) Received: by p-voyageur.rd.francetelecom.fr with Internet Mail Service (5.5.2655.55) id ; Wed, 17 Apr 2002 13:31:42 +0200 Message-ID: <0489A7888F080B4BA73B53F7E145F29A1B0AAD@LANMHS20.rd.francetelecom.fr> From: zze-MARCHEGAY Michael stagiaire FTRD/DTL/LAN To: "'caml-list@inria.fr'" Subject: [Caml-list] type checking divergence for coercion Date: Wed, 17 Apr 2002 13:31:53 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-d8117f57-51f2-11d6-b1ea-00508b69ab48" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------=_NextPartTM-000-d8117f57-51f2-11d6-b1ea-00508b69ab48 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1E603.796CD4F2" ------_=_NextPart_001_01C1E603.796CD4F2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable In the following exemple: class x =3D object method bar (x0:a0) (x1:a1) (x2:a2) (x3:a3) (x4:a4) (x5:a5) (x6:a6) = (x7:a7) =3D=20 (x0, x1, x2, x3, x4, x5, x6, x7) end =20 and a0 =3D object inherit x end=20 and a1 =3D object inherit x end=20 and a2 =3D object inherit x end=20 and a3 =3D object inherit x end=20 and a4 =3D object inherit x end=20 and a5 =3D object inherit x end and a6 =3D object inherit x end and a7 =3D object inherit x end let _ =3D (new x :> x) the computation time required to evaluate the type of the expression=20 "let _ =3D (new x :> x)" diverges when paramters are added to the = method bar. Do you have any idea on the origin of this divergence? -- Micha=EBl Marchegay, Stagiaire France Telecom R&D du 11/02/2002 au = 26/07/2002 Sous la responsabilit=E9 d'Olivier Dubuisson DTL/TAL - 22307 Lannion Cedex - France ------_=_NextPart_001_01C1E603.796CD4F2 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable type checking divergence for coercion

In the following exemple:

class x =3D object
  method bar (x0:a0) (x1:a1) (x2:a2) (x3:a3) = (x4:a4) (x5:a5) (x6:a6) (x7:a7) =3D
    (x0, x1, x2, x3, x4, x5, x6, = x7)
end        =

and a0 =3D object inherit x end
and a1 =3D object inherit x end
and a2 =3D object inherit x end
and a3 =3D object inherit x end
and a4 =3D object inherit x end
and a5 =3D object inherit x end
and a6 =3D object inherit x end
and a7 =3D object inherit x end

let _ =3D (new x :> x)

the computation time required to evaluate the type of = the expression
"let _ =3D (new x :> x)" diverges when = paramters are added to the method bar.

Do you have any idea on the origin of this = divergence?

--
Micha=EBl Marchegay, Stagiaire France Telecom = R&D du 11/02/2002 au 26/07/2002
Sous la responsabilit=E9 d'Olivier Dubuisson
DTL/TAL - 22307 Lannion Cedex - France

------_=_NextPart_001_01C1E603.796CD4F2-- ------=_NextPartTM-000-d8117f57-51f2-11d6-b1ea-00508b69ab48-- ------------------- 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