caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* How can I set a type parameter of Map.Make(X) ?
@ 2010-09-20 14:35 Dumitru Potop-Butucaru
  2010-09-20 14:57 ` [Caml-list] " Ashish Agarwal
  2010-09-20 14:59 ` How can I set a type parameter of Map.Make(X) ? Sylvain Le Gall
  0 siblings, 2 replies; 9+ messages in thread
From: Dumitru Potop-Butucaru @ 2010-09-20 14:35 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]


Hello,

I'm certain most users here will consider the question trivially simple, 
but I browsed the documentation without finding a solution.

The question is quite general: Given a polymorphic definition like 
Map.Make(X), where
X is some module, how can I specialize its 'a type parameter, e.g. by 
setting it to Y, so that
I have maps from X to Y ?

Yours,
Jacky Potop

[-- Attachment #2: dumitru_potop_butucaru.vcf --]
[-- Type: text/x-vcard, Size: 335 bytes --]

begin:vcard
fn:Dumitru Potop-Butucaru
n:Potop-Butucaru;Dumitru
org:INRIA Rocquencourt;Project AOSTE
adr:;;Domaine de Voluceau, BP 105;Le Chesnay;;F-78153;France
email;internet:dumitru.potop_butucaru@inria.fr
tel;work:+33-139.63.55.80
tel;fax:+33-139.63.51.93
x-mozilla-html:FALSE
url:http://www.DumitruPotop.net
version:2.1
end:vcard


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

end of thread, other threads:[~2010-09-20 19:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-20 14:35 How can I set a type parameter of Map.Make(X) ? Dumitru Potop-Butucaru
2010-09-20 14:57 ` [Caml-list] " Ashish Agarwal
2010-09-20 17:25   ` Dumitru Potop-Butucaru
2010-09-20 17:31     ` Ashish Agarwal
2010-09-20 17:58     ` Martin Jambon
2010-09-20 19:02       ` Dumitru Potop-Butucaru
2010-09-20 19:32         ` Ashish Agarwal
2010-09-20 19:35         ` code duplication (was Re: [Caml-list] How can I set a type parameter of Map.Make(X) ?) Martin Jambon
2010-09-20 14:59 ` How can I set a type parameter of Map.Make(X) ? Sylvain Le Gall

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