caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Mihamina Rakotomandimby <mihamina@rktmb.org>
To: caml-list@inria.fr
Subject: [Caml-list] polymorphism in general
Date: Fri, 23 Dec 2011 11:30:33 +0300	[thread overview]
Message-ID: <4EF43C29.9090409@rktmb.org> (raw)

Hello,

I have a question about polymorphism in general.

Let's take this example:
  val polymorph1 : 'a * 'b -> string = <fun>

Is it polymorph?
I have a doubt because the result is always a "string", not something 
related to either "'a" or "'b".

So another way to ask the question: is polymorphism only qualified by 
the parameter?

Thank you for your help.

-- 
RMA.

             reply	other threads:[~2011-12-23  8:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-23  8:30 Mihamina Rakotomandimby [this message]
2011-12-23 10:07 ` Martin Koch
2011-12-27  7:44   ` David Baelde

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=4EF43C29.9090409@rktmb.org \
    --to=mihamina@rktmb.org \
    --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;
as well as URLs for NNTP newsgroup(s).