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 D19F57EE7C for ; Wed, 27 Apr 2016 12:04:21 +0200 (CEST) IronPort-PHdr: 9a23:rRpBXxCFfZhE2OF6ya3BUyQJP3N1i/DPJgcQr6AfoPdwSP79pcbcNUDSrc9gkEXOFd2CrakU26yG6uu5ACQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTnkbDrsMSKKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu5NznlpL1/A1zz158O34YIxu38I46FppIZ8VvDxdqE8CLhZFygOMmYv5cStuwOQYxGI4y4+W24PjxdTRijI6gv7FrX2rzH2v+w1jCuTNtTrQKtxWTmk9aYtShj1kisOMRY/93vSg8h9l79D5hW7qEoskMbvfIiJOa8mLevmdtQASD8ZUw== Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jacques-henri.jourdan@normalesup.org; spf=Neutral smtp.mailfrom=jacques-henri.jourdan@normalesup.org; spf=None smtp.helo=postmaster@ulminfo.fr Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of jacques-henri.jourdan@normalesup.org) identity=pra; client-ip=5.135.188.139; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="jacques-henri.jourdan@normalesup.org"; x-sender="jacques-henri.jourdan@normalesup.org"; x-conformance=sidf_compatible Received-SPF: Neutral (mail3-smtp-sop.national.inria.fr: domain of jacques-henri.jourdan@normalesup.org does not assert whether or not 5.135.188.139 is permitted sender) identity=mailfrom; client-ip=5.135.188.139; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="jacques-henri.jourdan@normalesup.org"; x-sender="jacques-henri.jourdan@normalesup.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@ulminfo.fr) identity=helo; client-ip=5.135.188.139; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="jacques-henri.jourdan@normalesup.org"; x-sender="postmaster@ulminfo.fr"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0C1AwDyjSBX/4u8hwVegzhpulIOgXSGDwIIgTE4FAEBAQEBAQEBZCeCLYIVAQEEIwRREQsYCRYEBwICCQMCAQIBRRMIAogmBLM8kTEiCIpshQkXgh2CVgWYEIMogWeKWYdphVePMB4BQ4I2gTeKGAEBAQ X-IPAS-Result: A0C1AwDyjSBX/4u8hwVegzhpulIOgXSGDwIIgTE4FAEBAQEBAQEBZCeCLYIVAQEEIwRREQsYCRYEBwICCQMCAQIBRRMIAogmBLM8kTEiCIpshQkXgh2CVgWYEIMogWeKWYdphVePMB4BQ4I2gTeKGAEBAQ X-IronPort-AV: E=Sophos;i="5.24,540,1454972400"; d="asc'?scan'208";a="175929318" Received: from ulminfo.fr ([5.135.188.139]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-GCM-SHA384; 27 Apr 2016 12:04:21 +0200 Received: from [139.19.168.24] (wks-50-27.mpi-sws.org [139.19.168.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ulminfo.fr (Postfix) with ESMTPSA id 2F705C0901 for ; Wed, 27 Apr 2016 12:04:20 +0200 (CEST) To: caml-list@inria.fr References: <572084CC.1080408@libertysurf.fr> <32C540F73D89478D9E6D2AF2599F639F@erratique.ch> <572089B8.8090207@normalesup.org> <4DF7CBF37BD9480C9F9EC992D51D254C@erratique.ch> From: Jacques-Henri Jourdan Message-ID: <57208EA3.6030801@normalesup.org> Date: Wed, 27 Apr 2016 12:04:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <4DF7CBF37BD9480C9F9EC992D51D254C@erratique.ch> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uQGOmRaN7r2KqCaBN32ro1NXcIGsteLK2" Subject: Re: [Caml-list] ocaml 4.03 and warning 52 : argument of this constructor should not be matched against a constant pattern This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --uQGOmRaN7r2KqCaBN32ro1NXcIGsteLK2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I think it has been introduced in 4.02. On 04/27/2016 12:00 PM, Daniel B=C3=BCnzli wrote: > Le mercredi, 27 avril 2016 =C3=A0 11:43, Jacques-Henri Jourdan a =C3=A9cr= it : >> Or, with the new pattern matching with exception syntax : >>=20=20 >> match List.hd lst with >> | exception Failure _ -> Printf.printf "empty list\n" >> | hd -> ... > When was that introduced again ? I'm now starting to move to 4.01 languag= e-wise.=20=20 > > Daniel > >=20=20=20=20 > > > --uQGOmRaN7r2KqCaBN32ro1NXcIGsteLK2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXII6kAAoJEGHoGlEY1GjFW1IH/0bUJNBc3TRv1qEdEgAsAu1/ O7cC/2j1GSeFCODO/hy80OOruHYgmH8pwP8oT4S/iW2UHYOLp2Bgvkmp+5a66cXJ +8i4G0IxVTiyZHtvYQuPJXpE9kUTF/SspYD0GFJGnwXoHU5THnXhC+jf4b3CL5Zv ns/JvgC8JBA4wkkrFMpHPn9aYtzNaYkjliwybNU21rk742RT792x/RC/HmQmex78 27HiIjf1YU5msXPn8rwnkqzhSQg/VIaNPU7459X4HH7DE4sxvCskHGU0qcQ6d0ut gLPe/nbcNZqyexxuWHlP45zjK/eDw2xamHYI7C4Lvuj7yonaaqmefljXSWCjx2g= =kJ57 -----END PGP SIGNATURE----- --uQGOmRaN7r2KqCaBN32ro1NXcIGsteLK2--