caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Teller <David.Teller@univ-orleans.fr>
To: OCaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Replacing Pervasives?
Date: Mon, 08 Sep 2008 11:17:55 +0200	[thread overview]
Message-ID: <1220865475.11009.12.camel@Blefuscu> (raw)
In-Reply-To: <1220861166.11009.7.camel@Blefuscu>

Technically, I guess I can write a Camlp4 extension just to add "open
Foo" at the beginning of every file, but it seems a bit complex for such
a simple task. Any other idea?

Thanks,
 David


On Mon, 2008-09-08 at 10:06 +0200, David Teller wrote:
> Dear list,
> 
>  Does anyone know how I can get a module to be auto-opened by the
> compiler, in the same vein as Pervasives? I would very much prefer not
> having to tweak around the source code of ocamlc for this purpose.
> 
> Thanks,
>  David
> 
-- 
David Teller-Rajchenbach
 Security of Distributed Systems
  http://www.univ-orleans.fr/lifo/Members/David.Teller
 Angry researcher: French Universities need reforms, but the LRU act brings liquidations. 


  reply	other threads:[~2008-09-08  9:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-08  8:06 David Teller
2008-09-08  9:17 ` David Teller [this message]
2008-09-08 10:04   ` [Caml-list] " Romain Bardou
2008-09-08 10:51     ` David Teller
2008-09-08 15:06       ` Romain Bardou
2008-09-08 17:35         ` David Teller
2008-09-08 20:40           ` Stefano Zacchiroli
2008-09-08 21:03 ` Richard Jones

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=1220865475.11009.12.camel@Blefuscu \
    --to=david.teller@univ-orleans.fr \
    --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).