English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Feature request : Tuples vs. records
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-22 (12:41)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Feature request : Tuples vs. records
On Thu, 2007-02-22 at 11:42 +0100, Andrej Bauer wrote:

> By the way, I always wondered why ocaml doesn't have generic projection 
> operations from cartesian products (I belive they are writen #1, #2, #3 
> ... in SML).

There's another difference in Ocaml: records
are nominally typed, tuples are structurally typed.

John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net