caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Does hweak 1.1 Not Work in O'Caml 3.09.2?
@ 2006-06-04 23:31 Paul Snively
  2006-06-05  8:05 ` [Caml-list] " Remi Vanicat
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Snively @ 2006-06-04 23:31 UTC (permalink / raw)
  To: caml-list

         Objective Caml version 3.09.2

# #directory "/Tools/ocaml/hweak-1.1/";;
# #load "hweak.cma";;
# let container = new Weak_memo.c 100;;
val container : < _.. > Weak_memo.c = <obj>
# class foo =
   object
   method foo = "foo!"
   end;;
class foo : object method foo : string end
# let foo1 = new foo;;
val foo1 : foo = <obj>
# let un_foo1 = (foo1 :> < >);;
val un_foo1 : <  > = <obj>
# container#add foo1;;
- : unit = ()
# container#find un_foo1;;
Exception: Not_found.

Color me confused.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Does hweak 1.1 Not Work in O'Caml 3.09.2?
  2006-06-04 23:31 Does hweak 1.1 Not Work in O'Caml 3.09.2? Paul Snively
@ 2006-06-05  8:05 ` Remi Vanicat
  2006-06-11  2:40   ` Paul Snively
  0 siblings, 1 reply; 3+ messages in thread
From: Remi Vanicat @ 2006-06-05  8:05 UTC (permalink / raw)
  To: Paul Snively; +Cc: caml-list

2006/6/5, Paul Snively <psnively@mac.com>:
>          Objective Caml version 3.09.2
>
> # #directory "/Tools/ocaml/hweak-1.1/";;
> # #load "hweak.cma";;
[...]
> # container#find un_foo1;;
> Exception: Not_found.


I've made the same test here with the ocaml 3.09.2 of debian and it
worked as expected. Even If I do severall Gc.full_major () before
using find.

Well, it seem the version I've here is more recent than the one on the
web, coul you try the new one I just upload on
http://remi.vanicat.free.fr/ocaml/hweak/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Does hweak 1.1 Not Work in O'Caml 3.09.2?
  2006-06-05  8:05 ` [Caml-list] " Remi Vanicat
@ 2006-06-11  2:40   ` Paul Snively
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Snively @ 2006-06-11  2:40 UTC (permalink / raw)
  To: Remi Vanicat; +Cc: caml-list

Hi Remi,

Thanks--the new version does indeed work with 3.09.2.

Best regards,
Paul

On Jun 5, 2006, at 1:05 AM, Remi Vanicat wrote:

> 2006/6/5, Paul Snively <psnively@mac.com>:
>>          Objective Caml version 3.09.2
>>
>> # #directory "/Tools/ocaml/hweak-1.1/";;
>> # #load "hweak.cma";;
> [...]
>> # container#find un_foo1;;
>> Exception: Not_found.
>
>
> I've made the same test here with the ocaml 3.09.2 of debian and it
> worked as expected. Even If I do severall Gc.full_major () before
> using find.
>
> Well, it seem the version I've here is more recent than the one on the
> web, coul you try the new one I just upload on
> http://remi.vanicat.free.fr/ocaml/hweak/
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-11  2:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-04 23:31 Does hweak 1.1 Not Work in O'Caml 3.09.2? Paul Snively
2006-06-05  8:05 ` [Caml-list] " Remi Vanicat
2006-06-11  2:40   ` Paul Snively

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).