From: Joel Reymont <joelr1@gmail.com>
To: Lauri Alanko <la@iki.fi>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Functor applications cannot be opened
Date: Wed, 30 Mar 2011 07:39:21 +0100 [thread overview]
Message-ID: <C75840D1-A9D5-4106-9824-F5A231692982@gmail.com> (raw)
In-Reply-To: <20110330025009.GA5064@melkinpaasi.cs.helsinki.fi>
On Mar 30, 2011, at 3:50 AM, Lauri Alanko wrote:
> I would like to get the types in F(M) into scope to avoid putting the
> functor application everywhere:
>
> module type S = sig
> module M : T
> open F(M)
> val x : l
> end
http://www.math.nagoya-u.ac.jp/~garrigue/papers/ml2010-show.pdf
module type S = sig
module M : T
include module type of F(M)
val x : l
end
--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
prev parent reply other threads:[~2011-03-30 6:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 2:50 Lauri Alanko
2011-03-30 6:39 ` Joel Reymont [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=C75840D1-A9D5-4106-9824-F5A231692982@gmail.com \
--to=joelr1@gmail.com \
--cc=caml-list@inria.fr \
--cc=la@iki.fi \
/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