Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Eijiro Sumii <eijiro.sumii@gmail.com>
To: Aleksey Nogin <nogin@cs.caltech.edu>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Objective Caml 3.09 released
Date: Fri, 28 Oct 2005 15:49:18 +0900	[thread overview]
Message-ID: <a4d0794e0510272349i41c0aa10ub6a5aa18c4dd35bf@mail.gmail.com> (raw)
In-Reply-To: <4361A431.9010508@cs.caltech.edu>

> AFAIU, there are two warnings - "Y" for variables bound with let and "Z"
> for variables bound by pattern matching. By default, Y is enabled and Z
> is not. Use "ocamlc -wA" to enable all the warnings.

I see - thanks for the correction.

        Eijiro

> cat test2.ml
match 3 with x -> 5
> ocamlc -w A test2.ml -o /dev/null
File "test2.ml", line 1, characters 13-14:
Warning Z: unused variable x.


  reply	other threads:[~2005-10-28  6:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-27 14:24 Xavier Leroy
2005-10-27 14:36 ` [Caml-list] " Damien Doligez
2005-10-27 15:40 ` skaller
2005-10-28  2:44 ` Eijiro Sumii
2005-10-28  4:08   ` Aleksey Nogin
2005-10-28  6:49     ` Eijiro Sumii [this message]
2005-10-28 19:14     ` Damien Doligez
2005-10-28 21:12       ` Jon Harrop
2005-10-29 14:31       ` Stefan Monnier
2005-10-28  7:28 ` [Caml-list] " Aleksey Nogin
2005-10-29  5:18   ` Vincenzo Ciancia

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=a4d0794e0510272349i41c0aa10ub6a5aa18c4dd35bf@mail.gmail.com \
    --to=eijiro.sumii@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=nogin@cs.caltech.edu \
    --cc=sumii@ecei.tohoku.ac.jp \
    /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