From: "Yann Régis-Gianas" <yrg@irif.fr>
To: Danny Gratzer <danny.gratzer@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] include two module implementations sharing the same type definitions
Date: Thu, 29 Nov 2018 10:07:29 +0100 [thread overview]
Message-ID: <CAM+Uc3WOVyQ14jx3UhV6aUXL++4rsDhZxxqz1Y1o+6dpsA9_Ng@mail.gmail.com> (raw)
In-Reply-To: <CACbeAXDR2KMzyZY-SPowqyLMSAeK_Vc8T5Y-ZAhemUiEC1Fmaw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 517 bytes --]
Hello Danny,
and thank you! That is clearly a nice work around even though it may
require to introduce unnecessary module signatures for the only purpose of
composing module implementations.
Cheers,
Le jeu. 29 nov. 2018 à 10:02, Danny Gratzer <danny.gratzer@gmail.com> a
écrit :
> Hello,
>
> Perhaps I'm overlooking something but replacing
>
> include BI
>
> with
>
> include (BI : B with type t := t)
>
> seems like a reasonable fix to me.
>
> Danny
>
--
Yann Régis-Gianas
[-- Attachment #2: Type: text/html, Size: 1116 bytes --]
next prev parent reply other threads:[~2018-11-29 9:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-29 8:52 Yann Régis-Gianas
2018-11-29 9:02 ` Danny Gratzer
2018-11-29 9:07 ` Yann Régis-Gianas [this message]
2018-11-29 9:08 ` Frédéric Bour
2018-11-29 9:12 ` Yann Régis-Gianas
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=CAM+Uc3WOVyQ14jx3UhV6aUXL++4rsDhZxxqz1Y1o+6dpsA9_Ng@mail.gmail.com \
--to=yrg@irif.fr \
--cc=caml-list@inria.fr \
--cc=danny.gratzer@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