From: "Nathaniel Gray" <n8gray@gmail.com>
To: "Caml-list List" <caml-list@inria.fr>
Subject: camlp4: Where's Loc?
Date: Sat, 6 Oct 2007 18:40:57 -0700 [thread overview]
Message-ID: <aee06c9e0710061840t26e3ffe3w9623bc4dd65d8b71@mail.gmail.com> (raw)
I'm trying to figure out how to use the Camlp4MacroParser extension
but I can't seem to find the Loc module it requires:
macro.ml:
"""
open Camlp4.Sig
let here = __LOCATION__
"""
Build command:
ocamlc -I +camlp4 -pp "camlp4o -parser Camlp4MacroParser"
camlp4lib.cma -o macro macro.ml
Result:
File "macro.ml", line 2, characters 11-23:
Unbound value Loc.of_tuple
According to the documentation the Loc module's supposed to be in
Camlp4.Sig. Any clues?
Thanks,
-n8
--
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->
next reply other threads:[~2007-10-07 1:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-07 1:40 Nathaniel Gray [this message]
2007-10-08 12:54 ` [Caml-list] " Nicolas Pouillard
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=aee06c9e0710061840t26e3ffe3w9623bc4dd65d8b71@mail.gmail.com \
--to=n8gray@gmail.com \
--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