From: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
To: Alain Frisch <alain.frisch@lexifi.com>
Cc: Enrico Tassi <enrico.tassi@inria.fr>,
Mailing List OCaml <caml-list@inria.fr>
Subject: Re: [Caml-list] How to rename a record field
Date: Fri, 7 Sep 2018 08:45:08 +0900 [thread overview]
Message-ID: <19F1F466-19C4-482E-BB2E-553047888A2E@math.nagoya-u.ac.jp> (raw)
In-Reply-To: <eb82a090-af8d-b1d2-aef5-51ddd738b03e@lexifi.com>
On 2018/09/07 01:21, Alain Frisch wrote:
>
> On 06/09/2018 18:20, Alain Frisch wrote:
>> Btw, it might be interesting to allow deprecating the presence or absence of fields.
>
> Sorry, I meant the presence or absence of *optional arguments*, of course.
Interesting idea.
This should be easily doable, for instance by extending the Asttypes.arg_label type.
By deprecating the absence, do you mean having a warning when the argument is ommited?
Wouldn’t it mean having two distinct deprecation annotations for optional arguments?
Jacques
next prev parent reply other threads:[~2018-09-06 23:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-06 11:36 Enrico Tassi
2018-09-06 11:48 ` Gabriel Scherer
2018-09-06 13:03 ` Enrico Tassi
2018-09-06 13:17 ` Jacques Garrigue
2018-09-06 14:18 ` Enrico Tassi
2018-09-06 23:34 ` Jacques Garrigue
2018-09-06 16:20 ` Alain Frisch
2018-09-06 16:21 ` Alain Frisch
2018-09-06 23:45 ` Jacques Garrigue [this message]
2018-09-07 8:36 ` Alain Frisch
2018-09-07 10:13 ` Jacques Garrigue
2018-09-07 12:49 ` Alain Frisch
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=19F1F466-19C4-482E-BB2E-553047888A2E@math.nagoya-u.ac.jp \
--to=garrigue@math.nagoya-u.ac.jp \
--cc=alain.frisch@lexifi.com \
--cc=caml-list@inria.fr \
--cc=enrico.tassi@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