[
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: | 2009-01-14 (08:54) |
From: | Stéphane Glondu <steph@g...> |
Subject: | Re: [Caml-list] why Hashtbl.t are not covarint? |
Radzevich Belevich a écrit : > hashtbl.mli: type ('a,'b) t > Why not "type ('a,+'b) t"? For the same reason as 'a in 'a ref, i.e. mutable things cannot be covariant. Cheers, -- Stéphane