Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: rossberg@mpi-sws.org
To: "Alain Frisch" <alain@frisch.fr>
Cc: "Louis Gesbert" <louis.gesbert@mlstate.com>, caml-list@inria.fr
Subject: Re: [Caml-list] Implicitely abstracted type
Date: Thu, 16 Dec 2010 17:03:37 +0100 (CET)	[thread overview]
Message-ID: <df10dc5328385dcb5eb90687e043eed5.squirrel@mail.mpi-sws.org> (raw)
In-Reply-To: <4D0A2D24.8090401@frisch.fr>

Alain Frisch wrote:
>
> When applying a functor of type
> functor(X:S1) -> S2 to a module of type T, the module type for the
> result can be obtained in two different ways:
>
> (1) T is a path: the module type is obtained by substituting X with T in S2.
>
> (2) T is not a path: the module type is obtained by computing the
> smallest supertype of S2 that doesn't contain X anymore (under the extra
> assumption that X has type T).

I believe this doesn't type-check. :) You probably meant to say:

"When applying a functor of type
functor(X:S1) -> S2 to a module M of type T, the module type for the
result can be obtained in two different ways:

(1) M is a path: the module type is obtained by substituting X with M in S2.

(2) M is not a path: the module type is obtained by computing the
smallest supertype of S2 that doesn't contain X anymore (under the extra
assumption that X has type T)."

/Andreas


      reply	other threads:[~2010-12-16 16:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-16 13:31 Louis Gesbert
2010-12-16 14:23 ` [Caml-list] " rossberg
2010-12-16 15:15 ` Alain Frisch
2010-12-16 16:03   ` rossberg [this message]

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=df10dc5328385dcb5eb90687e043eed5.squirrel@mail.mpi-sws.org \
    --to=rossberg@mpi-sws.org \
    --cc=alain@frisch.fr \
    --cc=caml-list@inria.fr \
    --cc=louis.gesbert@mlstate.com \
    /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