From: Matt Gushee <matt@gushee.net>
To: caml-list@inria.fr
Subject: Strange output from Camlp4
Date: Fri, 28 Oct 2005 12:53:21 -0600 [thread overview]
Message-ID: <436273A1.9030104@gushee.net> (raw)
In the process of trying to learn the revised syntax for objects, I have
encountered a strange message from Camlp4.
I have a file, ox.ml, whose contents look like this:
let conf = object
val mutable data:(string * string) list = []
method get k = List.assoc k data
end
BTW, that is deliberately a let binding rather than a class definition.
Is that not supposed to work?
Anyway, as suggested by the Camlp4 manual, I run
camlp4o pr_r.cmo ox.ml
With the result:
value conf =<pr_r: not impl: expr; tag = 25>;
???
--
Matt Gushee
Englewood, CO, USA
next reply other threads:[~2005-10-28 18:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-28 18:53 Matt Gushee [this message]
2005-11-01 13:54 ` [Caml-list] " Hendrik Tews
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=436273A1.9030104@gushee.net \
--to=matt@gushee.net \
--cc=caml-list@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