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 38EE67FB0A for ; Tue, 25 Nov 2014 18:27:04 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of alain@frisch.fr) identity=pra; client-ip=85.233.204.164; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="alain@frisch.fr"; x-sender="alain@frisch.fr"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of alain@frisch.fr) identity=mailfrom; client-ip=85.233.204.164; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="alain@frisch.fr"; x-sender="alain@frisch.fr"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mx20.yaziba.net) identity=helo; client-ip=85.233.204.164; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="alain@frisch.fr"; x-sender="postmaster@mx20.yaziba.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgoCAHW7dFRV6cyknGdsb2JhbABbhzTJXYMRAoESFgEBAQEBEQEBAQEBCAsJCRQuhAMBAQQjFUARCxgCAgUWCwICCQMCAQIBRQYBDAgBAYhAunuWXwwBH4Eujxo6gniBVQWefIE1hleLBogHK4MVAQEB X-IPAS-Result: AgoCAHW7dFRV6cyknGdsb2JhbABbhzTJXYMRAoESFgEBAQEBEQEBAQEBCAsJCRQuhAMBAQQjFUARCxgCAgUWCwICCQMCAQIBRQYBDAgBAYhAunuWXwwBH4Eujxo6gniBVQWefIE1hleLBogHK4MVAQEB X-IronPort-AV: E=Sophos;i="5.07,456,1413237600"; d="scan'208";a="109529946" Received: from mx20.yaziba.net ([85.233.204.164]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 25 Nov 2014 18:27:03 +0100 Received: from mta10.int.yaziba.net (unknown [10.4.20.30]) by mx20.yaziba.net (mx10.yaziba.net) with ESMTP id 5CDDE1A74B6; Tue, 25 Nov 2014 18:27:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mta10.int.yaziba.net (Postfix) with ESMTP id 61F8ACA684; Tue, 25 Nov 2014 18:27:03 +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 eE8XoXiSei-o; Tue, 25 Nov 2014 18:27:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mta10.int.yaziba.net (Postfix) with ESMTP id 3BB16CA72A; Tue, 25 Nov 2014 18:27:03 +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 Utom0XZDFWXS; Tue, 25 Nov 2014 18:27:03 +0100 (CET) Received: from [192.168.1.133] (APuteaux-553-1-103-112.w92-151.abo.wanadoo.fr [92.151.54.112]) by mta10.int.yaziba.net (Postfix) with ESMTPSA id BCCA0CA695; Tue, 25 Nov 2014 18:27:02 +0100 (CET) Message-ID: <5474BBE8.6020004@frisch.fr> Date: Tue, 25 Nov 2014 18:27:04 +0100 From: Alain Frisch User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: =?UTF-8?B?QXJ0aHVyIENoYXJndcOpcmF1ZA==?= , caml-list@inria.fr References: <5474B195.3040108@chargueraud.org> In-Reply-To: <5474B195.3040108@chargueraud.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-DRWEB-SCAN: ok X-VRSPAM-SCORE: -100 X-VRSPAM-STATE: legit X-VRSPAM-CAUSE: gggruggvucftvghtrhhoucdtuddrfeejiedrtddvgddufecutefuodetggdotefrucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffhfgfggfvufhfjggtgfesthhqrgdttdefjeenucfhrhhomheptehlrghinhcuhfhrihhstghhuceorghlrghinhesfhhrihhstghhrdhfrheq X-VRSPAM-EXTCAUSE: mhhouggvpehsmhhtphhouhht Subject: Re: [Caml-list] teaching OCaml On 11/25/2014 05:43 PM, Arthur Chargu=C3=A9raud wrote: > - Document the fact it does not support GADTs, and does not > typecheck with "-principal", in particular code that uses overloading > of record fields. Is it really what you mean? I thought that your alternative=20 type-checking rules would be coherent with the existing ones *provided*=20 that -principal is enabled, so I'd expect this option to be forced when=20 using your mode. -- Alain