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 5FCDC7EEFD for ; Fri, 2 Oct 2015 00:27:08 +0200 (CEST) IronPort-PHdr: 9a23:2cZ8PBzBSZ69bVzXCy+O+j09IxM/srCxBDY+r6Qd0eIRIJqq85mqBkHD//Il1AaPBtWHrawfwLON+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuStKU0Z/8jrv60qaQSjsLrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYeVcyDAgD1uSmxHh+pX4p8Y7oGx48sgs/M9YUKj8Y79wDfkBVGxnYCgJ45jHvB/CQA+4zO8aQGEX2k5ECg7E4RW8VIr8tDn+t8JwwjOTIczvUL1yUjT0vIlxTxq9oTwHNiU5uEjYg9ZvhaYT9BuurgZgyoqNMd7IHPV7d6LZO9gdQDwSDY5qSyVdD9bkPMM0BO0bMLMd9tGlqg== Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=agarwal1975@gmail.com; spf=Pass smtp.mailfrom=agarwal1975@gmail.com; spf=None smtp.helo=postmaster@mail-wi0-f169.google.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of agarwal1975@gmail.com) identity=pra; client-ip=209.85.212.169; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="agarwal1975@gmail.com"; x-sender="agarwal1975@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of agarwal1975@gmail.com designates 209.85.212.169 as permitted sender) identity=mailfrom; client-ip=209.85.212.169; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="agarwal1975@gmail.com"; x-sender="agarwal1975@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wi0-f169.google.com) identity=helo; client-ip=209.85.212.169; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="agarwal1975@gmail.com"; x-sender="postmaster@mail-wi0-f169.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CLAgAdsg1WlKnUVdFehGkGqwaGb5N5AoExBzwQAQEBAQEBAQEQAQEBAQcLCwkfMIIdgX4KAQEDARIRHQEbHQEDAQsGBQMBBzcCAiIBEQEFARwGEyKHdgEDCgipZoEwPjGLR4FsgnmKAgoZJw1WhDcBAQEBAQUBAQEBAQEWAQUOi2OFDQeCaYFDBZVyB40UmgcSI4EXOIIvI4F3IjOJeAEBAQ X-IPAS-Result: A0CLAgAdsg1WlKnUVdFehGkGqwaGb5N5AoExBzwQAQEBAQEBAQEQAQEBAQcLCwkfMIIdgX4KAQEDARIRHQEbHQEDAQsGBQMBBzcCAiIBEQEFARwGEyKHdgEDCgipZoEwPjGLR4FsgnmKAgoZJw1WhDcBAQEBAQUBAQEBAQEWAQUOi2OFDQeCaYFDBZVyB40UmgcSI4EXOIIvI4F3IjOJeAEBAQ X-IronPort-AV: E=Sophos;i="5.17,619,1437429600"; d="scan'208";a="180551710" Received: from mail-wi0-f169.google.com ([209.85.212.169]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 02 Oct 2015 00:27:07 +0200 Received: by wicgb1 with SMTP id gb1so9117885wic.1 for ; Thu, 01 Oct 2015 15:27:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=GliRCqTfeEJjzEWr+Bw4jmxO2Ii2Dlzx6rVRbfcscnE=; b=cd2009Rnyl7Q8fruCUAC3feJz2MD352oznUQQo2b4sHOx7HMIXrnUT9sP+/GsYKZXz Bt99fxUXjNWrbkONMNY687MlS6l4lI5lH1lo07k7Zu7VUmv+NvKGmExqyrlRLOt7tR1g kSysnJVTxLDlfnzEx+8FBNStPv9Rmg7M+A21g4L+nGTK4vYZGTqFXDPX/Ulo2coJEFS/ svJIUxYyxeR0aWwxTJ0e/LnckmM3oPinU9rTMOXCXNV+yG9v/xkX9zznP6J8uXKe6REq hikomXVtKbMwBPUVVzAwu8aA4Ic6+6IA1yjCfwcKJhtWSQEwCrdCYrIfybvsSMvis9Rb UW0Q== X-Received: by 10.180.210.162 with SMTP id mv2mr934535wic.47.1443738427613; Thu, 01 Oct 2015 15:27:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.27.82.86 with HTTP; Thu, 1 Oct 2015 15:26:48 -0700 (PDT) In-Reply-To: <27679C4D5DC5402FB7581A66D9FF858F@erratique.ch> References: <27679C4D5DC5402FB7581A66D9FF858F@erratique.ch> From: Ashish Agarwal Date: Thu, 1 Oct 2015 18:26:48 -0400 Message-ID: To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= Cc: Haoyang Wang , Caml List Content-Type: multipart/alternative; boundary=001a11c37dae2067bc0521128ca8 Subject: Re: [Caml-list] type synonym for polymorphic variant --001a11c37dae2067bc0521128ca8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Oct 1, 2015 at 6:23 PM, Daniel B=C3=BCnzli wrote: > Le jeudi, 1 octobre 2015 =C3=A0 23:06, Ashish Agarwal a =C3=A9crit : > > Embarrassing. > > Not really, since you are allowed to write > > type t =3D [ s | `C ] > Right, that's the whole reason my brain got stuck thinking the brackets need to be there. This is some auto-generated code, and sometimes I do extend the type, so the brackets were always being put in. --001a11c37dae2067bc0521128ca8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On T= hu, Oct 1, 2015 at 6:23 PM, Daniel B=C3=BCnzli <daniel.buenzli@e= rratique.ch> wrote:
Le jeud= i, 1 octobre 2015 =C3=A0 23:06, Ashish Agarwal a =C3=A9crit :
> Embarrassing.

Not really, since you are allowed to write

type t =3D [ s | `C ]

Right, that's= the whole reason my brain got stuck thinking the brackets need to be there= . This is some auto-generated code, and sometimes I do extend the type, so = the brackets were always being put in.
--001a11c37dae2067bc0521128ca8--