Version française
Home     About     Download     Resources     Contact us    
Browse thread
Weak hash table for attaching extra data to an object
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] Weak hash table for attaching extra data to an object

Le 15 août 07 à 02:33, Jon Harrop a écrit :

> I think Markus Mottl once said that all libraries should include  
> phantom types...

I don't know if he said that however the point of a phantom type is  
that there is no concrete value associated to it -- the phantom  
parameter isn't used in the type definition. Hence phantoms are  
useless if you need to decorate a type.

Daniel