caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] polymorphism in general
@ 2011-12-23  8:30 Mihamina Rakotomandimby
  2011-12-23 10:07 ` Martin Koch
  0 siblings, 1 reply; 3+ messages in thread
From: Mihamina Rakotomandimby @ 2011-12-23  8:30 UTC (permalink / raw)
  To: caml-list

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-27  7:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-23  8:30 [Caml-list] polymorphism in general Mihamina Rakotomandimby
2011-12-23 10:07 ` Martin Koch
2011-12-27  7:44   ` David Baelde

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).