From: Jeremy Yallop <yallop@gmail.com>
To: Tom Ridge <tom.j.ridge+list@googlemail.com>
Cc: David Allsopp <dra-news@metastack.com>, caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Comment syntax?
Date: Wed, 14 Sep 2016 14:04:06 +0100 [thread overview]
Message-ID: <CAAxsn=EJVTnCv+WUmjCrDN5CLzuEg1MdJX0D9GGMf18WJ-qBXQ@mail.gmail.com> (raw)
In-Reply-To: <CABooLwOu_xA+ubyUGVQOOGz1fey0=JRCAFK=Y5Bo3mt1zN1eSg@mail.gmail.com>
On 14 September 2016 at 13:51, Tom Ridge
<tom.j.ridge+list@googlemail.com> wrote:
> In this case, has there been any progress on "single line" comments
Yes: there's a recent concrete proposal, and a few (mostly multi-line)
comments on it here:
https://github.com/ocaml/ocaml/pull/671
> // some comment
That would be backwards-incompatible, unfortunately. For example, the
following program
let f (
//
) = (
//
)
currently defines f as the polymorphic identity function, but with the
addition of '//' comments it would instead define a function of type
'unit -> unit'.
next prev parent reply other threads:[~2016-09-14 13:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-14 12:34 Tom Ridge
2016-09-14 12:38 ` David Allsopp
2016-09-14 12:51 ` Tom Ridge
2016-09-14 13:04 ` Jeremy Yallop [this message]
2016-09-14 13:11 ` David Allsopp
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='CAAxsn=EJVTnCv+WUmjCrDN5CLzuEg1MdJX0D9GGMf18WJ-qBXQ@mail.gmail.com' \
--to=yallop@gmail.com \
--cc=caml-list@inria.fr \
--cc=dra-news@metastack.com \
--cc=tom.j.ridge+list@googlemail.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