From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 80107BB9A for ; Fri, 28 Oct 2005 06:08:29 +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 j9S48Tjg024898 for ; Fri, 28 Oct 2005 06:08:29 +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 GAA06305 for ; Fri, 28 Oct 2005 06:08:28 +0200 (MET DST) Received: from blizzard.cs.caltech.edu (blizzard.cs.caltech.edu [131.215.44.2]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9S48R48024892 for ; Fri, 28 Oct 2005 06:08:28 +0200 Received: from localhost (flood.cs.caltech.edu [131.215.44.31]) by blizzard.cs.caltech.edu (Postfix) with ESMTP id D30053FA8B9 for ; Thu, 27 Oct 2005 21:08:26 -0700 (PDT) Received: from blizzard.cs.caltech.edu ([131.215.44.2]) by localhost (flood.cs.caltech.edu [131.215.44.31]) (amavisd-new, port 10024) with ESMTP id 02179-04 for ; Thu, 27 Oct 2005 21:08:26 -0700 (PDT) Received: from [192.168.1.101] (charter-242-005.caltech.edu [131.215.242.5]) by blizzard.cs.caltech.edu (Postfix) with ESMTP id 1E80A3FA4F6 for ; Thu, 27 Oct 2005 21:08:23 -0700 (PDT) Message-ID: <4361A431.9010508@cs.caltech.edu> Date: Thu, 27 Oct 2005 21:08:17 -0700 From: Aleksey Nogin Organization: California Institute of Technology, Computer Science Department User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Caml List Subject: Re: [Caml-list] Objective Caml 3.09 released References: <4360E32F.1060905@inria.fr> In-Reply-To: X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 4361A43D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4361A43B.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 eijiro:01 sumii:01 ocamlc:01 wrote:01 exception:01 caltech:02 caltech:02 caml:02 caml:02 objective:02 objective:02 variables:02 variables: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=none autolearn=disabled version=3.0.3 On 27.10.2005 19:44, Eijiro Sumii wrote: > | It is my pleasure to announce the release of Objective Caml version 3.09.0, > | the "Halloween" release. Be very afraid :-) > > Thanks and congratulations! (Thanks also for fixing the line number > problem in exception history reports.) > > | - New warnings for variables locally bound and never used. > > I suppose they do not include local variables bound by pattern > matching - is this correct? 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. -- Aleksey Nogin Home Page: http://nogin.org/ E-Mail: nogin@cs.caltech.edu (office), aleksey@nogin.org (personal) Office: Moore 04, tel: (626) 395-2200