caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Ashish Agarwal <agarwal1975@gmail.com>
To: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
Cc: Haoyang Wang <hywang@pobox.com>, Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] type synonym for polymorphic variant
Date: Thu, 1 Oct 2015 18:26:48 -0400	[thread overview]
Message-ID: <CAMu2m2JkyS4MtyWzgkXg9CHPbmb4zvFahbsn++JurLW_MAoRtQ@mail.gmail.com> (raw)
In-Reply-To: <27679C4D5DC5402FB7581A66D9FF858F@erratique.ch>

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

On Thu, Oct 1, 2015 at 6:23 PM, Daniel Bünzli <daniel.buenzli@erratique.ch>
wrote:

> Le jeudi, 1 octobre 2015 à 23:06, Ashish Agarwal a écrit :
> > Embarrassing.
>
> Not really, since you are allowed to write
>
> type t = [ 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.

[-- Attachment #2: Type: text/html, Size: 785 bytes --]

  reply	other threads:[~2015-10-01 22:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01 21:41 Ashish Agarwal
2015-10-01 21:47 ` Haoyang Wang
2015-10-01 22:06   ` Ashish Agarwal
2015-10-01 22:23     ` Daniel Bünzli
2015-10-01 22:26       ` Ashish Agarwal [this message]
     [not found]     ` <CAJ_epFM9s64QY88MxPW2apF9wgnXTQiJgns9w_dTtVKyvxsGeA@mail.gmail.com>
2015-10-01 22:28       ` Ashish Agarwal
2015-10-01 22:35         ` Daniel Bünzli
2015-10-01 22:41           ` Ashish Agarwal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMu2m2JkyS4MtyWzgkXg9CHPbmb4zvFahbsn++JurLW_MAoRtQ@mail.gmail.com \
    --to=agarwal1975@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=daniel.buenzli@erratique.ch \
    --cc=hywang@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).