From: Neel Krishnaswami <neelk@alum.mit.edu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Yelling
Date: Wed, 23 Apr 2003 11:31:22 -0400 [thread overview]
Message-ID: <16038.45514.773388.957505@h00045a4799d6.ne.client2.attbi.com> (raw)
In-Reply-To: <3EA6AB00.7020305@post.tepkom.ru>
Anton Moscal writes:
>
> This isn't true: you can abbrevaite the later declaration as:
> module type BAR = (* This is a subtype of FOO *)
> sig
> include FOO
> val v' : t
> end
>
> AFAIK this is not documented and relatively new feature, but its
> works.
I just tried this out, and it's really cool!
Are there any plans to document this feature and make it permanent?
If so, I might try functorizing Haskell's Edison data structure
libraries (the endless copying of interfaces was the reason I gave up
the last time I tried this).
--
Neel Krishnaswami
neelk@alum.mit.edu
-------------------
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
next prev parent reply other threads:[~2003-04-23 15:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-23 14:16 Eray Ozkural
2003-04-23 14:56 ` Neel Krishnaswami
[not found] ` <3EA6AB00.7020305@post.tepkom.ru>
2003-04-23 15:31 ` Neel Krishnaswami [this message]
2003-04-23 15:50 ` Eray Ozkural
2003-04-24 7:58 ` Hendrik Tews
2003-04-23 15:33 ` Andreas Rossberg
2003-04-23 15:56 ` Eray Ozkural
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=16038.45514.773388.957505@h00045a4799d6.ne.client2.attbi.com \
--to=neelk@alum.mit.edu \
--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