From: Paul Snively <psnively@mac.com>
To: caml-list@yquem.inria.fr
Subject: Does hweak 1.1 Not Work in O'Caml 3.09.2?
Date: Sun, 4 Jun 2006 16:31:14 -0700 [thread overview]
Message-ID: <234505D9-08C9-441E-8F05-A25F757BCFFF@mac.com> (raw)
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.
next reply other threads:[~2006-06-04 23:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-04 23:31 Paul Snively [this message]
2006-06-05 8:05 ` [Caml-list] " Remi Vanicat
2006-06-11 2:40 ` Paul Snively
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=234505D9-08C9-441E-8F05-A25F757BCFFF@mac.com \
--to=psnively@mac.com \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox