From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=AWL,DNS_FROM_SECURITYSAGE, SPF_FAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 84DF4BBAF for ; Thu, 20 Nov 2008 12:49:02 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvECABbdJElQRFuwgWdsb2JhbACTWwEBFiK9dYJ8 X-IronPort-AV: E=Sophos;i="4.33,639,1220220000"; d="scan'208";a="20170541" Received: from furbychan.cocan.org ([80.68.91.176]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/AES256-SHA; 20 Nov 2008 12:49:02 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.63) (envelope-from ) id 1L381p-0006yX-SC; Thu, 20 Nov 2008 11:48:57 +0000 Date: Thu, 20 Nov 2008 11:48:57 +0000 To: David Allsopp Cc: 'Stefano Zacchiroli' , caml-list@yquem.inria.fr Subject: Re: [Caml-list] open Module (not?) considered harmful Message-ID: <20081120114857.GB26521@annexia.org> References: <1227002178.6170.25.camel@Blefuscu> <200811182330.03947.jon@ffconsultancy.com> <1227076192.6290.7.camel@Blefuscu> <4b5157c30811190146l2c6a5e2cv4a085bcc14ae5f4@mail.gmail.com> <20081119211124.51610ae9@alcazar.inria.fr> <1227172839-sup-5973@ausone.inria.fr> <20081120103303.GA25346@annexia.org> <20081120104914.GA14355@usha.takhisis.invalid> <000001c94b03$4f55d4e0$ee017ea0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001c94b03$4f55d4e0$ee017ea0$@com> User-Agent: Mutt/1.5.13 (2006-08-11) From: Richard Jones X-Spam: no; 0.00; printf:01 printf:01 20,:98 wrote:01 caml-list:01 module:03 thu:05 debug:05 long:06 red:92 quite:08 i'm:09 consider:09 file:11 except:11 On Thu, Nov 20, 2008 at 11:29:44AM -0000, David Allsopp wrote: > Consider > > open Array;; > open List;; > > (* Hundreds of lines of code *) > > length [];; Oh god yes, I was bitten by almost this just a few days ago, except my code was: open Printf open Format (*...*) printf "I'm trying to debug something\n" (The file was quite literally not more than 15 lines long, but it took me a good hour to work out why that printf wasn't printing anything ...) Rich. -- Richard Jones Red Hat