Browse thread
Weak hash table for attaching extra data to an object
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2007-08-15 (12:33) |
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