caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
To: itz@speakeasy.org
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] -i option to compiler
Date: Thu, 10 Jan 2002 10:57:12 +0900	[thread overview]
Message-ID: <20020110105712C.garrigue@kurims.kyoto-u.ac.jp> (raw)
In-Reply-To: <86k7ur85w4.fsf@speakeasy.org>

From: Ian Zimmerman <itz@speakeasy.org>

> The real root of the inconvenience is that the compiler treats -i runs
> as normal compilations with just a silly side task to take care of.
> 
> Instead, it should just switch to a mode where generating the
> interface is the _only_ thing it does, and overwrite an existing .mli
> file if necessary (let user beware).

That seems reasonnable: I cannot actually imagine a situation where
one would want to produce both the .cmo and .mli simultaneously.
Making -i a compilation mode by itself would have the extra advantage
of avoiding to produce an a.out when one forgot the (meaningless) -c.

Jacques Garrigue
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


      reply	other threads:[~2002-01-10  1:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-09 21:19 Ian Zimmerman
2002-01-09 21:30 ` David Monniaux
2002-01-09 23:13   ` Eric C. Cooper
2002-01-09 23:24     ` Ian Zimmerman
2002-01-10  1:57       ` Jacques Garrigue [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=20020110105712C.garrigue@kurims.kyoto-u.ac.jp \
    --to=garrigue@kurims.kyoto-u.ac.jp \
    --cc=caml-list@inria.fr \
    --cc=itz@speakeasy.org \
    /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).