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

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).