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: Thomas Refis <thomas.refis@gmail.com>,
	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:41:40 -0400	[thread overview]
Message-ID: <CAMu2m2L6xajTbo6W6E3Eh1PGL+eRDhJ5zeqM3b9VUDtN9vU8iA@mail.gmail.com> (raw)
In-Reply-To: <6998424209D7465993934FC233D40CFE@erratique.ch>

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

Oh I see it is whitespace sensitive:

"type t = [|s]" fails
"type t = [ |s]" works


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

> Le jeudi, 1 octobre 2015 à 23:28, Ashish Agarwal a écrit :
> > On Thu, Oct 1, 2015 at 6:20 PM, Thomas Refis <thomas.refis@gmail.com
> (mailto:thomas.refis@gmail.com)> wrote:
> > > Note the you could also do "type t = [ | s ]"
> >
> > Actually I had tried that, but it doesn't work.
>
> It does here (4.02.3).
>
> Daniel
>
>
>

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

      reply	other threads:[~2015-10-01 22:42 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
     [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 [this message]

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=CAMu2m2L6xajTbo6W6E3Eh1PGL+eRDhJ5zeqM3b9VUDtN9vU8iA@mail.gmail.com \
    --to=agarwal1975@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=daniel.buenzli@erratique.ch \
    --cc=hywang@pobox.com \
    --cc=thomas.refis@gmail.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).