From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.5 required=5.0 tests=AWL,SPF_SOFTFAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 99343BBAF for ; Tue, 20 Jan 2009 12:43:13 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At8AAJ1HdUnVhjEYkWdsb2JhbACUBQEBAQEJCwoHEQO3L4JLgyg X-IronPort-AV: E=Sophos;i="4.37,295,1231110000"; d="scan'208";a="22773815" Received: from ihsmtp02voda.lis.interhost.com (HELO ihsmtp02cons.lis.interhost.com) ([213.134.49.24]) by mail1-smtp-roc.national.inria.fr with ESMTP; 20 Jan 2009 12:43:12 +0100 Received: from [192.168.1.64] ([77.54.249.136]) by ihsmtp02cons.lis.interhost.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 20 Jan 2009 11:40:33 +0000 Message-ID: <4975B8CE.4040902@inescporto.pt> Date: Tue, 20 Jan 2009 11:43:10 +0000 From: Hugo Ferreira User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Daniel_B=FCnzli?= Cc: OCaml List Subject: Re: [Caml-list] Making a polymorphic type non-polymorphic to comply with original signature References: <4975AEA2.6050901@inescporto.pt> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 20 Jan 2009 11:40:34.0021 (UTC) FILETIME=[E7BB1950:01C97AF3] X-Spam: no; 0.00; bunzli:01 hashtbl:01 hashedtype:01 node:01 functor:01 beginner's:01 ocaml:01 bug:01 acb:98 polymorphic:01 beginners:01 wrote:01 caml-list:01 caml-list:01 bin:01 Hi Daniel, Daniel Bünzli wrote: > > Le 20 janv. 09 à 11:59, Hugo Ferreira a écrit : > >> Is it possible to make H comply with Hashtbl.HashedType i.e: make >> J.Key = 'a H.node ? > > This issue is well known (e.g. see here [1]). Your are running into > limitations of the standard library. The only unsatisfying answer is to > copy the code from the standard library and add the parameter yourself. > Thanks for the quick response. Back to the drawing board I guess. Regards, Hugo F. > Best, > > Daniel > > [1] > http://groups.google.com/group/fa.caml/browse_thread/thread/f2acb593da91553c?hl=fr&ie=UTF-8&q=type+var+in+functor+fa.caml > > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >