From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by c5ff346549e7 (Postfix) with ESMTPS id 9FA835D5 for ; Tue, 6 Oct 2020 16:45:34 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.77,343,1596492000"; d="scan'208";a="471281587" Received: from prod-listesu18.inria.fr (HELO sympa.inria.fr) ([128.93.162.160]) by mail2-relais-roc.national.inria.fr with ESMTP; 06 Oct 2020 18:45:33 +0200 Received: by sympa.inria.fr (Postfix, from userid 20132) id 6B551E0B4F; Tue, 6 Oct 2020 18:45:33 +0200 (CEST) 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 51FB2E00E5 for ; Tue, 6 Oct 2020 18:45:27 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.77,343,1596492000"; d="scan'208";a="471281564" Received: from 91-175-127-215.subs.proxad.net (HELO MacBook-Pro-5.local) ([91.175.127.215]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Oct 2020 18:45:27 +0200 To: Oleg References: <20201006160519.GA2217@Melchior.localnet> Cc: =?UTF-8?Q?Fran=c3=a7ois_Pottier?= , OCaML Mailing List From: =?UTF-8?Q?Fran=c3=a7ois_Pottier?= Message-ID: Date: Tue, 6 Oct 2020 18:45:26 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20201006160519.GA2217@Melchior.localnet> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Subject: Re: [Caml-list] Question on the covariance of a GADT (polymorphic Reply-To: =?UTF-8?Q?Fran=c3=a7ois_Pottier?= X-Loop: caml-list@inria.fr X-Sequence: 18258 Errors-To: caml-list-owner@inria.fr Precedence: list Precedence: bulk Sender: caml-list-request@inria.fr X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: Dear Oleg, Le 06/10/2020 à 18:05, Oleg a écrit : > This is indeed a very `popular' problem. On June 21 this year Josh > Berdine posed almost the same question (without wine and food, alas). > On 28 June 2020 I sent the reply with three solutions. Great, thanks for your quick reply! Now I have to go do my homework and study your solutions :-) I'll be in touch. -- François Pottier francois.pottier@inria.fr http://cambium.inria.fr/~fpottier/