Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Chris King" <colanderman@gmail.com>
To: "Jacques GARRIGUE" <garrigue@math.nagoya-u.ac.jp>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Oddness concerning private variants in 3.10.0
Date: Sat, 8 Sep 2007 00:56:28 -0400	[thread overview]
Message-ID: <875c7e070709072156y1c4ea390i6be890f7e773f0ee@mail.gmail.com> (raw)
In-Reply-To: <20070908.090419.2004149852.garrigue@math.nagoya-u.ac.jp>

On 9/7/07, Jacques GARRIGUE <garrigue@math.nagoya-u.ac.jp> wrote:
> From: "Chris King" <colanderman@gmail.com>
> > Compiling this:
> >
> > module A: sig
> >   type t = [ `A | `B ]
> > end = struct
> >   type t = private [> `A ]
> > end
> >
> > results in the error:
>
> It certainly should: here the signature is written first!
> If you write it the other way round, it is accepted without problem.

D'oh!  Braino on my part.  You are right, I did mean the other way around.

> Concerning your first problem, could you submit a bu report, attaching
> relevant information?

Sure... I will try to come up with a smaller program to reproduce it
first though.

- Chris


  reply	other threads:[~2007-09-08  4:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07 21:04 Chris King
2007-09-08  0:04 ` [Caml-list] " Jacques GARRIGUE
2007-09-08  4:56   ` Chris King [this message]
2007-09-09  3:13 ` Chris King

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=875c7e070709072156y1c4ea390i6be890f7e773f0ee@mail.gmail.com \
    --to=colanderman@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=garrigue@math.nagoya-u.ac.jp \
    /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