From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 5C06ABB9A for ; Fri, 28 Oct 2005 08:49:22 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9S6nLJY002523 for ; Fri, 28 Oct 2005 08:49:21 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA14204 for ; Fri, 28 Oct 2005 08:49:21 +0200 (MET DST) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9S6nKTB002518 for ; Fri, 28 Oct 2005 08:49:21 +0200 Received: by zproxy.gmail.com with SMTP id i11so283422nzh for ; Thu, 27 Oct 2005 23:49:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YwYu7ttp07dEJaItfaLV6iyPoO9kWCqCMxl6srsn2Jh4YD6MqUUadjxPvxYfEECRw4SWeYSxMTqgaaFODC6RqWa71NxvmnFio62WdJoYnhr3fwg+uckXIpFGt6SlRlc7Hon4gO9PJlfZ1H6UGyUyrENkIW/kKb7oE0Z45IiZzyE= Received: by 10.37.2.30 with SMTP id e30mr1959708nzi; Thu, 27 Oct 2005 23:49:18 -0700 (PDT) Received: by 10.36.9.11 with HTTP; Thu, 27 Oct 2005 23:49:18 -0700 (PDT) Message-ID: Date: Fri, 28 Oct 2005 15:49:18 +0900 From: Eijiro Sumii Reply-To: sumii@ecei.tohoku.ac.jp To: Aleksey Nogin Subject: Re: [Caml-list] Objective Caml 3.09 released Cc: Caml List In-Reply-To: <4361A431.9010508@cs.caltech.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4360E32F.1060905@inria.fr> <4361A431.9010508@cs.caltech.edu> X-Miltered: at nez-perce with ID 4361C9F1.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4361C9F0.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; eijiro:01 sumii:01 eijiro:01 sumii:01 caml-list:01 ocamlc:01 ocamlc:01 dev:01 caml:02 match:02 objective:02 variables:02 variables:02 warnings:02 warnings:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 > 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.