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] syntax of private constructors in CVS version
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Pierre Weis <pierre.weis@i...>
Subject: Re: [Caml-list] syntax of private constructors in CVS version
> Would it be fair to say that the main distinction between private types
> and abstract types is that with private types, constructors are only
> invocable from inside the module, but destructors (e.g., pattern
> matching) are available both inside and outside of the module?
> y
> -- 
> |--------/            Yaron M. Minsky              \--------|
> |--------\ /--------|

You are right: that's yet another way to say it :)

Pierre Weis

INRIA, Projet Cristal,,

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: