From: Francois Pottier <Francois.Pottier@inria.fr>
To: Andrej Bauer <andrej.bauer@andrej.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Parametrizing ocamlyacc
Date: Wed, 12 Nov 2008 16:35:23 +0100 [thread overview]
Message-ID: <20081112153523.GB16228@yquem.inria.fr> (raw)
In-Reply-To: <7d8707de0811120630u402fd449t4906834298b3a6dd@mail.gmail.com>
On Wed, Nov 12, 2008 at 03:30:22PM +0100, Andrej Bauer wrote:
> The most logical thing would be to turn the ocamlyacc part into a
> functor which accepts an implementation of S. But there does not seem
> to be any way of doing this. What can I do?
>
> Can menhir do this?
Yes, Menhir has a keyword (%parameter) that allows precisely this.
--
François Pottier
Francois.Pottier@inria.fr
http://cristal.inria.fr/~fpottier/
prev parent reply other threads:[~2008-11-12 15:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-12 14:30 Andrej Bauer
2008-11-12 15:35 ` Francois Pottier [this message]
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=20081112153523.GB16228@yquem.inria.fr \
--to=francois.pottier@inria.fr \
--cc=andrej.bauer@andrej.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