caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Markus Mottl" <markus.mottl@gmail.com>
To: "Dario Teixeira" <darioteixeira@yahoo.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Sexplib and types defined via constraint
Date: Fri, 25 Jul 2008 16:04:25 -0400	[thread overview]
Message-ID: <f8560b80807251304x7b9dd56dqbe8d079fcd3bba2c@mail.gmail.com> (raw)
In-Reply-To: <363597.53244.qm@web54607.mail.re2.yahoo.com>

On Fri, Jul 25, 2008 at 8:31 AM, Dario Teixeira <darioteixeira@yahoo.com> wrote:
> But consider the module fragment below; type t is defined via a constraint,
> and includes a type parameter ('b) used as a phantom type.  The Sexplib syntax
> extension fails to parse the definition of t, producing an error:
>
> Failure: "get_tparam_id: not a type parameter"
> Preprocessing error on file document.ml

Thanks for reporting this, this is a bug in type-conv (i.e. affects
bin-prot, too).  Though we also make use of variance annotations, we
have surprisingly never used them in structures, only in signatures.
That's why this bug went unspotted until now.

An updated version is online already, including the Godi-package.

Best regards,
Markus

-- 
Markus Mottl http://www.ocaml.info markus.mottl@gmail.com


  reply	other threads:[~2008-07-25 20:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-25 12:31 Dario Teixeira
2008-07-25 20:04 ` Markus Mottl [this message]
2008-07-25 21:43   ` [Caml-list] " Stefano Zacchiroli
2008-07-25 22:36     ` Markus Mottl

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=f8560b80807251304x7b9dd56dqbe8d079fcd3bba2c@mail.gmail.com \
    --to=markus.mottl@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=darioteixeira@yahoo.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).