caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: "David Allsopp" <dra-news@metastack.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Re: Execution time of class versus record
Date: Tue, 26 Jun 2007 10:05:30 +0200	[thread overview]
Message-ID: <cd67f63a0706260105g5c7c9e14tbcbea258f02e3641@mail.gmail.com> (raw)
In-Reply-To: <002701c7b7c4$b3083100$6a7ba8c0@treble>

On 6/26/07, David Allsopp <dra-news@metastack.com> wrote:
> On Jun 26, 2007, at 08:53 AM, Loup Vaillant wrote:
> > > For the same reason, there is a difference between:
> > >
> > >   type t = A of int * int
> > >
> > > and:
> > >
> > >   type t = A of (int * int)
> >

[...]

> I believe the "revised" syntax for O'Caml
> changes the way these are declared to make it clearer but I've never looked
> at it...
>

Exactly:

type t = [ A of int and int ];

and

type t = [ A of (int * int) ];

-- 
Nicolas Pouillard


  reply	other threads:[~2007-06-26  8:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070626065522.6175FBC77@yquem.inria.fr>
2007-06-26  7:36 ` David Allsopp
2007-06-26  8:05   ` Nicolas Pouillard [this message]
2007-06-24 15:14 tmp123
2007-06-26 13:35 ` Sam Steingold
2007-06-26 16:29   ` [Caml-list] " Quôc Peyrot

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=cd67f63a0706260105g5c7c9e14tbcbea258f02e3641@mail.gmail.com \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=dra-news@metastack.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).