From: malc <malc@pulsesoft.com>
To: Christophe Raffalli <raffalli@univ-savoie.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Specialized functors
Date: Tue, 30 Apr 2002 17:15:06 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.21.0204301712160.550-100000@home.oyster.ru> (raw)
In-Reply-To: <1020155042.3234.0.camel@d85.lama.univ-savoie.fr>
On 30 Apr 2002, Christophe Raffalli wrote:
> Le mar 30/04/2002 Ю 09:12, malc a Иcrit :
> > Hi,
> >
> > Here http://algol.prosalg.no/~malc/code/specfun.tar.gz you can find small
> > OCaml 3.04 patch to allow functor specialization. Feedback is welcome.
> >
>
> Can you tell us what it does (I prefer to know before I try)
module F(A: sig .. end) = struct
...
end
module X = F(Moo) will be expanded to:
module X = struct
module opaque = struct
<Moo body>
end
open X
<F body>
end
With all the dirty facts hidden, and typing (mostly) preserved.
There is an example in the archive, try it, cause im really bad
doc/explanation writer.
--
mailto:malc@pulsesoft.com
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
prev parent reply other threads:[~2002-04-30 13:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-30 7:12 malc
2002-04-30 8:24 ` Christophe Raffalli
2002-04-30 21:15 ` malc [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=Pine.LNX.4.21.0204301712160.550-100000@home.oyster.ru \
--to=malc@pulsesoft.com \
--cc=caml-list@inria.fr \
--cc=raffalli@univ-savoie.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