From: Hendrik Boom <hendrik@topoi.pooq.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Tools for helping backward compatibility?
Date: Fri, 21 Aug 2020 09:52:46 -0400 [thread overview]
Message-ID: <20200821135246.rccrpa36gyj5gasg@topoi.pooq.com> (raw)
In-Reply-To: <71ff7d61-6899-9b05-4c01-3984d47698ca@cea.fr>
On Fri, Aug 21, 2020 at 02:19:10PM +0200, François Bobot wrote:
> Hi all,
>
> Backward compatibility helps a lot a community of packages to move forward. There are other
> possibilities like being able to co-install multiple version of a library, but having backward
> compatibility is still a huge simplification of the problem.
I forget if OCaml lets you specify just exactly which names you import
from a module. But if it does, some editor features would be useful:
* to add code to an import specifying exactly the features that are
currently exported from the module to protect against future name
clashes if the module is augmented.
* same with explicit specification of the types of imported names
to detect future tye changes)
* (this might need a compiler change)
* Or the same, listing only the names currently used by the importer.
Yes, these changes will likely need deep interaction between the editor
and the compiler.
-- hendrik
next prev parent reply other threads:[~2020-08-21 13:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-21 12:19 François Bobot
2020-08-21 13:52 ` Hendrik Boom [this message]
2020-08-24 9:18 ` François Bobot
2020-08-22 4:09 ` Yawar Amin
2020-08-24 8:51 ` François Bobot
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=20200821135246.rccrpa36gyj5gasg@topoi.pooq.com \
--to=hendrik@topoi.pooq.com \
--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