From: "Nicolás Ojeda Bär" <nicolas.ojeda.bar@lexifi.com>
To: Evgeny Roubinchtein <zhenya1007@gmail.com>
Cc: OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] A question about "8.9 First-class modules -> Advanced examples" section of the reference manual
Date: Wed, 3 Jan 2018 11:22:46 +0100 [thread overview]
Message-ID: <CADK7aFPnZOmCB6PsbxCua0fc-_-zJ5a_+7cUtRC3PH=5eGJd5w@mail.gmail.com> (raw)
In-Reply-To: <CAGYXaSb5mXa33R7RccEeqh8aYEgow8OtG9VctVOono6x0hgW1Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]
Dear Evgeny,
I am not sure how up-to-date they are, but you may be interested in the
following notes by Xavier:
https://caml.inria.fr/pub/papers/xleroy-recursive_modules-03.pdf
Cheers,
Nicolás
On Fri, Dec 22, 2017 at 10:13 AM, Evgeny Roubinchtein <zhenya1007@gmail.com>
wrote:
> Dear OCaml users and developers,
>
> I find the "Advanced examples" sub-section of the "First-class modules"
> section in the reference manual (http://caml.inria.fr/pub/
> docs/manual-ocaml/extn.html#sec244) to be a bit short on motivation.
>
> I appreciate that it may be, "possible to parametrize some code over the
> implementation of a module without using a functor", but I am having
> trouble imagining why one would want to do such a thing. Also, the
> "without using a functor" part comes across (to me) as a bit hollow, given
> that the example provided _does_ in fact use [Set.Make] functor: it just
> hides the invocation of that functor inside the definition of the
> [make_set] function, so it reads (to me) like just a round-about way to
> invoke the [Set.Make] functor.
>
> Also, was a description of first-class modules in OCaml published in
> either a paper or a thesis, or perhaps a journal article?
>
> Thank you in advance!
>
> --
> Best,
> Evgeny ("Zhenya")
>
[-- Attachment #2: Type: text/html, Size: 2196 bytes --]
next prev parent reply other threads:[~2018-01-03 10:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-22 9:13 Evgeny Roubinchtein
2017-12-27 7:56 ` [Caml-list] A question about "8.9 First-class modules -> Advanced Oleg
2018-01-03 10:22 ` Nicolás Ojeda Bär [this message]
2018-01-03 10:47 ` [Caml-list] A question about "8.9 First-class modules -> Advanced examples" section of the reference manual Xavier Leroy
2018-01-03 14:43 ` Nicolás Ojeda Bär
2018-01-04 16:50 ` Hao Wu
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='CADK7aFPnZOmCB6PsbxCua0fc-_-zJ5a_+7cUtRC3PH=5eGJd5w@mail.gmail.com' \
--to=nicolas.ojeda.bar@lexifi.com \
--cc=caml-list@inria.fr \
--cc=zhenya1007@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;
as well as URLs for NNTP newsgroup(s).