caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Radzevich Belevich <radzevich.belevich@gmail.com>
To: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] class type param constraint
Date: Thu, 09 Apr 2009 14:21:21 +0400	[thread overview]
Message-ID: <1239272481.2787.11.camel@serphost.localdomain> (raw)
In-Reply-To: <20090409.191306.169484516.garrigue@math.nagoya-u.ac.jp>

On Thu, 2009-04-09 at 19:13 +0900, Jacques Garrigue wrote:
> This may be a bit confusing, but the .. in your constraint on 'c means
> that no actual subtyping will occur when you use this type as target.
> Indeed, if the constraint was left unchanged, it would mean that by
> choosing an arbitrary instance, you could use the as_c method to
> convert an object of type "t a" to any "t".
Why it can't be converted to any valid "t"?


      reply	other threads:[~2009-04-09 10:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09  8:42 Radzevich Belevich
2009-04-09 10:10 ` [Caml-list] " Radzevich Belevich
2009-04-09 10:13 ` Jacques Garrigue
2009-04-09 10:21   ` Radzevich Belevich [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=1239272481.2787.11.camel@serphost.localdomain \
    --to=radzevich.belevich@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=garrigue@math.nagoya-u.ac.jp \
    /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;
as well as URLs for NNTP newsgroup(s).