From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA04910; Fri, 8 Feb 2002 22:24:28 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA04040 for ; Fri, 8 Feb 2002 22:24:27 +0100 (MET) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g18LOQr16682 for ; Fri, 8 Feb 2002 22:24:26 +0100 (MET) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id WAA20614 for caml-list@inria.fr; Fri, 8 Feb 2002 22:24:21 +0100 Date: Fri, 8 Feb 2002 22:24:21 +0100 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] exposing module types Message-ID: <20020208222421.B19941@verdot.inria.fr> References: <5.1.0.14.0.20020208125014.02a31630@192.168.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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