From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 A3A9FBC88 for ; Fri, 4 Feb 2005 18:59:04 +0100 (CET) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j14Hx4M0022328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 4 Feb 2005 18:59:04 +0100 Received: from [80.229.56.224] (helo=chetara) by ptb-relay03.plus.net with esmtp (Exim) id 1Cx81y-000POI-7B for caml-list@yquem.inria.fr; Fri, 04 Feb 2005 18:18:10 +0000 From: Jon Harrop Organization: University of Cambridge To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] The boon of static type checking Date: Fri, 4 Feb 2005 18:00:56 +0000 User-Agent: KMail/1.7.1 References: <891bd33905020213315a2ebb18@mail.gmail.com> <200502041026.56107.jon@jdh30.plus.com> <83C27E32-76CE-11D9-866D-000D9345235C@inria.fr> In-Reply-To: <83C27E32-76CE-11D9-866D-000D9345235C@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502041800.56581.jon@jdh30.plus.com> X-Miltered: at nez-perce with ID 4203B7E8.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 damien:01 wrote:01 wrote:01 o'caml:01 ocamlc:01 emacs:01 26,:98 frog:98 doligez:01 checking:01 inferred:02 types:02 static:03 installed:06 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Friday 04 February 2005 17:02, Damien Doligez wrote: > On Feb 4, 2005, at 11:26, Jon Harrop wrote: > > Also, it would be even easier to > > solve with an IDE which threw up the inferred types. > > O'Caml has it: > > ocamlc -dtypes > > and (in emacs) > > M-x caml-types-show-types I've tried this before and have never managed to get it to work. What are these supposed to do and is there anything I should have installed to get them to work? -- Dr Jon D Harrop, Flying Frog Consultancy Ltd.