caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jon Harrop <jon@ffconsultancy.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Objective Caml 3.09 released
Date: Fri, 28 Oct 2005 22:12:47 +0100	[thread overview]
Message-ID: <200510282212.47634.jon@ffconsultancy.com> (raw)
In-Reply-To: <3ADF9856-A290-4EE1-B228-1AC406A85979@inria.fr>

On Friday 28 October 2005 20:14, Damien Doligez wrote:
> On Oct 28, 2005, at 06:08, Aleksey Nogin wrote:
> > 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.
>
> The rules for Y are a bit complex.  They are designed to match our style
> of programming, where we sometimes document patterns by giving names to
> all the arguments, even if they are unused.
> ...

An alternative solution might be to highlight unused pattern bindings in the 
editor?

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists


  reply	other threads:[~2005-10-28 21:17 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
2005-10-28 19:14     ` Damien Doligez
2005-10-28 21:12       ` Jon Harrop [this message]
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=200510282212.47634.jon@ffconsultancy.com \
    --to=jon@ffconsultancy.com \
    --cc=caml-list@yquem.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).