From: Julia Lawall <julia.lawall@lip6.fr>
To: Viet Le <vietlq85@gmail.com>
Cc: Chet Murthy <murthy.chet@gmail.com>,
OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] a question about GADTs
Date: Sun, 17 Jun 2018 08:41:31 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.20.1806170841060.6553@hadrien> (raw)
In-Reply-To: <CAG_8+G7PGqtaGZqsprh+YXx5vejaLrncsFQE5BD3sTCZd0Unsg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 934 bytes --]
On Sun, 17 Jun 2018, Viet Le wrote:
> What is PL? I would appreciate more descriptive language.
programming language, as in POPL.
julia
>
> I can see that Janestreet claim huge benefits from GADTs (check their blog).
>
> I also came across a blog about writing GraphQL server using OCaml & GADT.
> Worth checking out.
>
> String/print formatting used to rely on unsafe Obj.magic. For a few years
> OCaml string/print formatting is using GADT that provide compile time
> safety. Lookup format6, and OCaml GADT for string/print formatting. That’s
> the most real-world usage.
>
> Viet
>
> On Sun, 17 Jun 2018 at 04:44, Chet Murthy <murthy.chet@gmail.com> wrote:
> I'm curious: is there any real-world use of GADTs, other than in
> PL itself? I mean, writing interpreters, compilers, and such?
> Any non-PL use?
>
> Again, not trying to start a flame-war -- just *curious*.
>
> --
> Kind regards,
> Viet
>
>
next prev parent reply other threads:[~2018-06-17 6:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-15 14:34 Alan Schmitt
2018-06-15 15:21 ` Markus Mottl
2018-06-15 16:34 ` Alan Schmitt
2018-06-17 3:43 ` Chet Murthy
2018-06-17 6:39 ` Viet Le
2018-06-17 6:41 ` Julia Lawall [this message]
2018-06-17 9:50 ` Jesper Louis Andersen
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=alpine.DEB.2.20.1806170841060.6553@hadrien \
--to=julia.lawall@lip6.fr \
--cc=caml-list@inria.fr \
--cc=murthy.chet@gmail.com \
--cc=vietlq85@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