Browse thread
[Caml-list] syntax of private constructors in CVS version
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 \--------| > |--------\ http://www.cs.cornell.edu/home/yminsky/ /--------| You are right: that's yet another way to say it :) Pierre Weis INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/ ------------------- 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