From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: joelr1 <joelr1@gmail.com>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] camlp4 Filters changed?
Date: Sun, 27 Jan 2008 17:32:28 +0100 [thread overview]
Message-ID: <1201451422-sup-4208@ausone.local> (raw)
In-Reply-To: <D0A2C0E1-50FB-4C6E-ADF3-04D7BFC56B97@gmail.com>
Excerpts from joelr1's message of Sun Jan 27 17:07:15 +0100 2008:
> I edited my code but I still get the "no expr" error in
>
> let strip_token_loc = object
> inherit map as super
> method expr e =
> match super#expr e with
> | `TokenPos (a, _) -> a
> | e -> e
> end
>
> I'll check the wiki but please let me know what other changes I missed.
That's certainly because you need to define your types as one big definition (using "and").
type t1 = ...
and t2 = ...
and t3 = ...
class map = Camlp4MapGenerator.generated;
Because the generation declaration take only the last definition group now.
> On Jan 27, 2008, at 12:58 PM, Nicolas Pouillard wrote:
>
> > It's now:
> >
> > class map = Camlp4MapGenerator.generated;
> >
> > I've just updated the wiki.
>
>
> -
> http://wagerlabs.com
--
Nicolas Pouillard aka Ertai
next prev parent reply other threads:[~2008-01-27 16:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-26 0:34 Joel Reymont
2008-01-27 12:58 ` [Caml-list] " Nicolas Pouillard
2008-01-27 16:07 ` Joel Reymont
2008-01-27 16:32 ` Nicolas Pouillard [this message]
2008-01-27 16:37 ` Joel Reymont
2008-01-27 17:24 ` 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=1201451422-sup-4208@ausone.local \
--to=nicolas.pouillard@gmail.com \
--cc=caml-list@inria.fr \
--cc=joelr1@gmail.com \
/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