From: Anton Moscal <msk@post.tepkom.ru>
To: Xavier Leroy <Xavier.Leroy@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: Warnings in ocaml
Date: Mon, 22 Feb 1999 16:24:47 +0300 (MSK) [thread overview]
Message-ID: <Pine.LNX.4.03.9902221621500.25437-100000@post.tepkom.ru> (raw)
In-Reply-To: <19990222133655.46186@pauillac.inria.fr>
On Mon, 22 Feb 1999, Xavier Leroy wrote:
> > I copied from SML and defined a procedure "ignore":
> > so now I would write:
> > ignore (f x y); ...
>
> I was considering adding this to the standard library, implemented in
> such a way that no function call actually takes place. It seems to
> strike a reasonable balance between the safety of the warning and the
> inconvenience of writing "let _ = ..."
Also it will be useful to produce warning when polymorphic comparison
occurs. Two days ago I got significant speedup in my program by
suppressing polymorphism. But I found it only by information from gprof.
Anton Moscal.
next prev parent reply other threads:[~1999-02-22 17:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-22 9:55 Frank A. Christoph
1999-02-22 12:36 ` Xavier Leroy
1999-02-22 13:24 ` Anton Moscal [this message]
1999-02-22 15:06 ` Michael Hicks
1999-02-22 18:33 ` Ching-Tsun Chou
-- strict thread matches above, loose matches on Subject: below --
1999-02-22 17:25 Don Syme
1999-02-22 18:16 ` Pierre Weis
1999-02-22 14:56 Andrew Kay
1999-02-22 13:45 Andrew Kay
1999-02-19 12:30 Jacques GARRIGUE
1999-02-19 18:32 ` Pierre Weis
1999-02-20 10:45 ` Markus Mottl
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=Pine.LNX.4.03.9902221621500.25437-100000@post.tepkom.ru \
--to=msk@post.tepkom.ru \
--cc=Xavier.Leroy@inria.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