From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] exposing module types
Date: Fri, 8 Feb 2002 22:24:21 +0100 [thread overview]
Message-ID: <20020208222421.B19941@verdot.inria.fr> (raw)
In-Reply-To: <5.1.0.14.0.20020208125014.02a31630@192.168.0.1>; from joelisp@yahoo.com on Fri, Feb 08, 2002 at 01:08:44PM -0800
Hi,
On Fri, Feb 08, 2002 at 01:08:44PM -0800, Charles Martin wrote:
> The only one that works is "Foo.Impl.Apple"
Change the line:
type 'a fruit = 'a Impl.fruit
into:
type 'a fruit = 'a Impl.fruit = Apple of 'a
The type name was visible but not its constructor.
--
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
prev parent reply other threads:[~2002-02-08 21:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-08 21:08 Charles Martin
2002-02-08 21:21 ` Alain Frisch
2002-02-08 21:24 ` Daniel de Rauglaudre [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=20020208222421.B19941@verdot.inria.fr \
--to=daniel.de_rauglaudre@inria.fr \
--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