Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
To: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
Cc: caml-list@inria.fr
Subject: [Caml-list] Re: New GADT iteration
Date: Thu, 24 Nov 2011 18:13:53 +0900	[thread overview]
Message-ID: <07914DBD-682A-4EB5-8700-0F009CA30795@math.nagoya-u.ac.jp> (raw)
In-Reply-To: <20111111.165707.71105223.garrigue@math.nagoya-u.ac.jp>

The new branch has now been merged in trunk, all ready for the next version of OCaml.

	http://caml.inria.fr/cgi-bin/viewcvs.cgi/ocaml/trunk

Big thanks to Jeremy Yallop for finding many bugs.
But you still have your chance to find more :-)

Jacques Garrigue

On 2011/11/11, at 16:57, Jacques Garrigue wrote:

> Dear Camlers,
> 
> Some of you may already be aware that GADTs are available in trunk,
> since this summer. Information is available here:
>      https://sites.google.com/site/ocamlgadt/
> 
> As you can see in the presentation, this first iteration had some
> limitations (particularly it was mostly incompatible with objects and
> polymorphic variants), which led us to try a new approach.
> 
> In this new iteration it is guaranteed that an ambiguous type cannot
> escape the scope of a GADT pattern-matching, which leads to
> (hopefully) more intuitive type inference, and allows to combine GADTs
> with objects and polymorphic variants. The syntax is unchanged.
> 
> As this approach depends crucially on the above property of ambiguous
> types not escaping, it requires as much testing as possible.
> This is why I would like to invite interested people to test it and
> report strange behavior.
> The new code is in the branch  branches/gadts-devel, or
>  http://caml.inria.fr/cgi-bin/viewcvs.cgi/ocaml/branches/gadts-devel/
> 
> Sample code is available in the subdirectory testsuite/tests/typing-gadts.
> It includes Alain Frisch's example for safe type introspection,
> extended with variants.
> 
> Please tell me if you find some unsoundness, or you cannot understand
> why you get an error.
> 
> Jacques Garrigue



      parent reply	other threads:[~2011-11-24  9:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11  7:57 [Caml-list] " Jacques Garrigue
2011-11-11  8:24 ` Gabriel Kerneis
2011-11-11  8:44   ` Jacques Le Normand
2011-11-12 14:18 ` "Markus W. Weißmann"
2011-11-24  9:13 ` Jacques Garrigue [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=07914DBD-682A-4EB5-8700-0F009CA30795@math.nagoya-u.ac.jp \
    --to=garrigue@math.nagoya-u.ac.jp \
    --cc=caml-list@inria.fr \
    /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