Browse thread
let x = ... in object ...
-
Guillaume Hennequin
-
Martin Jambon
-
Guillaume Hennequin
- Martin Jambon
- Jacques Garrigue
-
Guillaume Hennequin
-
Martin Jambon
[
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-05-26 (13:35) |
From: | Martin Jambon <martin.jambon@e...> |
Subject: | Re: [Caml-list] let x = ... in object ... |
Guillaume Hennequin wrote: > > > > # class a = let () = print_endline "hello" in object end;; > hello > class a : object end > > > Maybe you mean the following: > > > ? I was just pointing out that "class a = let x = ... in object ... end" creates x once and for all when the class is defined, and x will therefore not be GC'ed because of the language definition, not because of its implementation. Martin -- http://mjambon.com/