Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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, mailto:skaller@maxtal.com.au
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
checkout Vyper http://Vyper.sourceforge.net
download Interscript http://Interscript.sourceforge.net