Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Weak module
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-07-24 (02:35)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] Weak module

For the weak module, if some value is pointing to another value which 
is in a weak array, can that value be erased by the Gc still?

e.g. type my_t = (int32, int32_elt, c_layout) Array1.t (* bigarray *)

and I had a weak array of my_t, and was holding on to an int32 inside 
the bigarray...