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
Unbound type constructor
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-02-06 (15:52)
From: John Max Skaller <skaller@o...>
Subject: Re: Unbound type constructor
Stephan Tolksdorf wrote:

> PS: Naive question, why aren't there type members in OCaml classes?

	Because the primary unit of modularity in Ocaml is the module.
In many OO languages, it is the class, and one is forced to squeeze
all sorts of things into classes that don't belong there. 

John (Max) Skaller,
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
checkout Vyper
download Interscript