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
Instruction selection in the OCaml compiler: Modules or classes?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-23 (19:14)
From: Andreas Rossberg <AndreasRossberg@w...>
Subject: Re: [Caml-list] Instruction selection in the OCaml compiler: Modulesor classes?
Tom <> wrote:
> I think you should take a look at another currently active thread  -
> "Feature request : Tuples vs. records". One of the red lines there is the
> comparison of structural versus nominal typing - classes and objects
> belonging to the former, and modules and records to the latter.

Not exactly: ML modules employ fully structural typing and subtyping. That 
is their big strength, in contrast to comparable features in most other 
languages (particularly typical notions of class).

- Andreas