From: Sylvain Le Gall <sylvain@le-gall.net>
To: caml-list@inria.fr
Subject: Re: Conditional compilation wrt OCaml version?
Date: Mon, 26 Jan 2009 21:40:40 +0000 (UTC) [thread overview]
Message-ID: <slrngnsbeo.e8q.sylvain@gallu.homelinux.org> (raw)
In-Reply-To: <1233005104.20843.25.camel@Blefuscu>
On 26-01-2009, David Rajchenbach-Teller <David.Teller@ens-lyon.org> wrote:
> Dear list,
>
> Working on Batteries, we're faced with a few places where we'd like to
> perform conditional compilation depending on the version of OCaml being
> used. We could probably do this with Camlp4, cpp, Autoconf hackery, etc.
> -- but first, we need to decide on which of these options we'll adopt.
>
> Any suggestion?
>
There is optcomp:
https://forge.ocamlcore.org/projects/optcomp/
http://darcs.ocamlcore.org/repos/optcomp/optcomp/README
The example in README should talk to you directly.
Regards,
Sylvain Le Gall
next prev parent reply other threads:[~2009-01-26 21:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 21:25 David Rajchenbach-Teller
2009-01-26 21:40 ` Sylvain Le Gall [this message]
2009-01-29 8:43 ` Ocamlopt+macros, caching MetaOcaml code. Was: " Jan Kybic
2009-01-29 13:00 ` [Caml-list] " Jérémie Dimino
2009-01-29 9:21 ` [Caml-list] " David Rajchenbach-Teller
2009-01-26 22:58 ` [Caml-list] " Mikkel Fahnøe Jørgensen
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=slrngnsbeo.e8q.sylvain@gallu.homelinux.org \
--to=sylvain@le-gall.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;
as well as URLs for NNTP newsgroup(s).