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
strange behavior with record type definition
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-12 (00:09)
From: Michael Wohlwend <micha-1@f...>
Subject: Re: [Caml-list] strange behavior with record type definition

On Friday 11 November 2005 23:59, Florent wrote:
> How can I use my first type in a function ??

give different (distinct) names to the members of your records, then it should 
work (although it's a annoying "feature" to have to do this :-)