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
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:20)
From: Martin Jambon <martin_jambon@e...>
Subject: Re: [Caml-list] strange behavior with record type definition
On Fri, 11 Nov 2005, Florent wrote:

> Hi, I have defined two distinct record's types with a field's name in common. 
> But when I try to define a function that uses the first of the types, the 
> compiler gives me a type error.
> How can I use my first type in a function ??

The answer is there:


Martin Jambon, PhD -