Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] exposing module types
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] exposing module types

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
 	  type 'a fruit = 'a Impl.fruit = Apple of 'a

The type name was visible but not its constructor.

Bug reports:  FAQ:
To unsubscribe, mail  Archives: