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
2007/6/26, Jon Harrop <jon@ffconsultancy.com>:
> On Tuesday 26 June 2007 07:53:01 Loup Vaillant wrote:
> > 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
>
> Nope:
>
> # type t1 = A1 of int * int;;
> type t1 = A1 of int * int
> # type t2 = A2 of (int * int);;
> type t2 = A2 of (int * int)
> [...]

OK, this time, I got it, thanks. You also made me understand why there
have been any discussion about partial application of constructors.

Loup