Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: zze-MARCHEGAY Michael stagiaire FTRD/DTL/LAN <michael.marchegay@rd.francetelecom.com>
To: "'caml-list@inria.fr'" <caml-list@inria.fr>
Subject: [Caml-list] type checking divergence for coercion
Date: Wed, 17 Apr 2002 13:31:53 +0200	[thread overview]
Message-ID: <0489A7888F080B4BA73B53F7E145F29A1B0AAD@LANMHS20.rd.francetelecom.fr> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 834 bytes --]

In the following exemple:

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

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

let _ = (new x :> x)

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

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

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

[-- Attachment #1.2: Type: text/html, Size: 1753 bytes --]

             reply	other threads:[~2002-04-17 12:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-17 11:31 zze-MARCHEGAY Michael stagiaire FTRD/DTL/LAN [this message]
2002-04-18  0:06 ` Jacques Garrigue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0489A7888F080B4BA73B53F7E145F29A1B0AAD@LANMHS20.rd.francetelecom.fr \
    --to=michael.marchegay@rd.francetelecom.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox