From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id CB4A77F726 for ; Mon, 5 May 2014 01:34:27 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of lpw25@cam.ac.uk) identity=pra; client-ip=131.111.8.141; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="lpw25@cam.ac.uk"; x-sender="lpw25@cam.ac.uk"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of lpw25@cam.ac.uk) identity=mailfrom; client-ip=131.111.8.141; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="lpw25@cam.ac.uk"; x-sender="lpw25@cam.ac.uk"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@ppsw-41.csi.cam.ac.uk) identity=helo; client-ip=131.111.8.141; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="lpw25@cam.ac.uk"; x-sender="postmaster@ppsw-41.csi.cam.ac.uk"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtEBAEDOZlODbwiNf2dsb2JhbABYg1WrDAEBAQaZTT2BEhYOAQELCwoIFCiCJQEBBAE6PwULCyElDwEESYhMCAQJxB2FbRMEhVaIfAeEPwSZNJYp X-IPAS-Result: AtEBAEDOZlODbwiNf2dsb2JhbABYg1WrDAEBAQaZTT2BEhYOAQELCwoIFCiCJQEBBAE6PwULCyElDwEESYhMCAQJxB2FbRMEhVaIfAeEPwSZNJYp X-IronPort-AV: E=Sophos;i="4.97,984,1389740400"; d="scan'208";a="72051462" Received: from ppsw-41.csi.cam.ac.uk ([131.111.8.141]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 May 2014 01:34:27 +0200 X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from host81-153-161-113.range81-153.btcentralplus.com ([81.153.161.113]:41260 helo=study.localdomain) by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587) with esmtpsa (PLAIN:lpw25) (TLSv1.2:DHE-RSA-AES128-SHA:128) id 1Wh5vO-0002FE-S5 (Exim 4.82_3-c0e5623) (return-path ); Mon, 05 May 2014 00:34:26 +0100 From: Leo White To: Goswin von Brederlow Cc: caml-list@inria.fr References: <5356225B.1090305@cryptosense.com> <20140424142837.GA3845@frosties> X-Face: "XWxb[u_Z\PA_Y?9@|IA!!+jTb(/290-*ea/Un$I0B98.$n%eL.;2w*,z]WR#T:,p[ NBd++M7l]#7zj7!{~iw $W-"/=|dVjhT[D{4~gE}gK<2`.6fs!;uqqud]vs2N/3^m7{aS1V, Date: Mon, 05 May 2014 00:46:25 +0100 In-Reply-To: <20140424142837.GA3845@frosties> (Goswin von Brederlow's message of "Thu, 24 Apr 2014 16:28:37 +0200") Message-ID: <87ppjtumy6.fsf@study.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Caml-list] Obj.magic for polymorphic identifiers > Now that is a good reason to have open types. I've tried (and failed) > to do something like this without resorting to magic and the only way > I found was to declare a big GADT that has a constructor for every > possible type and match all possible equal pairs. That realy doesn't > scale well. > > > Would it be possible for someone familiar with the patch to create a > pull request for it on git? Maybe that way it could be merged in > faster. > > MfG > Goswin As it happens they have just been merged: https://github.com/ocaml/ocaml/commit/b56dc4b3df8d022b54f40682a9d5d4168c690413 Regards, Leo