From: Samuel Vivien <samuel.vivien@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Modular explicits in pre-OCaml 5.5
Date: Thu, 25 Jun 2026 16:23:04 +0200 [thread overview]
Message-ID: <6d5f115c-866d-4cc0-a102-73657778a0e2@inria.fr> (raw)
In-Reply-To: <861de205-0471-4a17-b020-c0494914437b@inria.fr>
Indeed. Modular explicit does not add any expressiveness to the language
(and does not impact the soundness of the type system). Every program
that can be written using modular explicits could have been written with
a functor encoded as a first-class module.
We presented this encoding in section 1.5 of this paper about modular
explicits : https://hal.science/hal-05428136/document
On 6/25/26 14:45, Olivier Nicole wrote:
> Thanks for pointing this out. Does this mean that modular explicits,
> strictly speaking, bring no additional expressivity but only a simpler
> way to do these things? Or are there programs that could be expressed
> with modular explicits but not with constrained module types?
prev parent reply other threads:[~2026-06-25 14:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-24 4:16 oleg
2026-06-25 12:45 ` Olivier Nicole
2026-06-25 14:23 ` Samuel Vivien [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=6d5f115c-866d-4cc0-a102-73657778a0e2@inria.fr \
--to=samuel.vivien@inria.fr \
--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