Version française
Home     About     Download     Resources     Contact us    
Browse thread
Execution time of class versus record
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Loup Vaillant <loup.vaillant@g...>
Subject: Re: [Caml-list] Execution time of class versus record
On Jun 25, 2007, at 8:07 AM, Jon Harrop wrote:
> For the same reason, there is a difference between:
>
>   type t = A of int * int
>
> and:
>
>   type t = A of (int * int)

Err, I don't get it : I see exactly the same thing (written twice) here.

Are you telling that :
type t = A of int * int   <==>   type t = (A of int) * int

?

Regards,
Loup Vaillant