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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 269D17FC86 for ; Thu, 19 Mar 2015 19:29:40 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of alain.frisch@lexifi.com) identity=pra; client-ip=85.233.204.164; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="alain.frisch@lexifi.com"; x-sender="alain.frisch@lexifi.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of alain.frisch@lexifi.com) identity=mailfrom; client-ip=85.233.204.164; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="alain.frisch@lexifi.com"; x-sender="alain.frisch@lexifi.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mx20.yaziba.net) identity=helo; client-ip=85.233.204.164; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="alain.frisch@lexifi.com"; x-sender="postmaster@mx20.yaziba.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BoAABMFAtVnKTM6VVchz/GQoJSAoFNTAEBAQEBAREBAQEBAQgLCQkULoQQAQUjBBFAARALGAICBRYLAgIJAwIBAgFFBgEMAQcBAYgvshacAQEBAQEBBQEBAQEBARyBIYl2hHEHgmiBRQEEmjmHA40jAoQRgzEBAQE X-IPAS-Result: A0BoAABMFAtVnKTM6VVchz/GQoJSAoFNTAEBAQEBAREBAQEBAQgLCQkULoQQAQUjBBFAARALGAICBRYLAgIJAwIBAgFFBgEMAQcBAYgvshacAQEBAQEBBQEBAQEBARyBIYl2hHEHgmiBRQEEmjmHA40jAoQRgzEBAQE X-IronPort-AV: E=Sophos;i="5.11,431,1422918000"; d="scan'208";a="104031756" Received: from mx20.yaziba.net ([85.233.204.164]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 19 Mar 2015 19:29:39 +0100 Received: from mta10.int.yaziba.net (unknown [10.4.20.30]) by mx20.yaziba.net (mx10.yaziba.net) with ESMTP id 65F531A7399; Thu, 19 Mar 2015 19:29:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mta10.int.yaziba.net (Postfix) with ESMTP id 9CEE5C0791; Thu, 19 Mar 2015 19:29:38 +0100 (CET) X-Virus-Scanned: amavisd-new at mta10.int.yaziba.net Received: from mta10.int.yaziba.net ([127.0.0.1]) by localhost (mta10.int.yaziba.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3B0ohgZoYIgd; Thu, 19 Mar 2015 19:29:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mta10.int.yaziba.net (Postfix) with ESMTP id 6DA46C0793; Thu, 19 Mar 2015 19:29:38 +0100 (CET) X-Virus-Scanned: amavisd-new at mta10.int.yaziba.net Received: from mta10.int.yaziba.net ([127.0.0.1]) by localhost (mta10.int.yaziba.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AbaVu001Y9zG; Thu, 19 Mar 2015 19:29:38 +0100 (CET) Received: from [10.0.48.204] (unknown [185.23.92.144]) by mta10.int.yaziba.net (Postfix) with ESMTPSA id 294B0C0791; Thu, 19 Mar 2015 19:29:38 +0100 (CET) Message-ID: <550B1593.7050701@lexifi.com> Date: Thu, 19 Mar 2015 19:29:39 +0100 From: Alain Frisch Organization: LexiFi User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Jeremy Yallop , =?UTF-8?B?TWlsYW4gU3Rhbm9qZXZpxIc=?= CC: =?UTF-8?B?RGFuaWVsIELDvG56bGk=?= , Jeremie Dimino , Caml-list References: <2AB388B4D07D4DDABA30298A7C890319@erratique.ch> <596DAEC11B474882835CEA10AAACE35E@erratique.ch> <87E7B1EBF3144E7C844448D0F5EBB407@erratique.ch> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-DRWEB-SCAN: ok X-VRSPAM-SCORE: -100 X-VRSPAM-STATE: legit X-VRSPAM-CAUSE: gggruggvucftvghtrhhoucdtuddrfeejledrjeelgdduudejucetufdoteggodetrfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkfffhohgfggfvufhfjggtgfesthejrgdttdefjeenucfhrhhomheptehlrghinhcuhfhrihhstghhuceorghlrghinhdrfhhrihhstghhsehlvgigihhfihdrtghomheq X-VRSPAM-EXTCAUSE: mhhouggvpehsmhhtphhouhht Subject: Re: [Caml-list] GADT existential escape On 03/19/2015 06:41 PM, Jeremy Yallop wrote: > The exn type doesn't support GADT > constructors (since it doesn't have type parameters) Note that even if exn doesn't have type parameters, it supports the GADT syntax to define constructors with existentials: exception A: 'a * ('a -> string) -> exn;; -- Alain