From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id HAA25242; Sat, 21 Jul 2001 07:04:38 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id HAA25179 for ; Sat, 21 Jul 2001 07:04:38 +0200 (MET DST) Received: from str12.sobor.org (adsl-63-198-183-99.dsl.snfc21.pacbell.net [63.198.183.99]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f6L54aH12743 for ; Sat, 21 Jul 2001 07:04:37 +0200 (MET DST) Received: from quasar.ipa.nw.ru (anza.sobor.org [192.168.123.51]) by str12.sobor.org (Postfix) with ESMTP id 7AF13AD942; Fri, 20 Jul 2001 21:51:39 -0700 (PDT) Message-ID: <3B590D09.319D2083@quasar.ipa.nw.ru> Date: Fri, 20 Jul 2001 22:03:05 -0700 From: "Alexander V. Voinov" Organization: Fear of the Lord is the beginning of wisdom X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Brian Rogoff , caml Subject: [Caml-list] indent 2 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi All, Is the indentation with the step 2 a _must_ for those who program in OCaml? I got used 4, and already set all the necessary variables for caml-mode, so that I get: let count_range bt lwb upb = let bti = (IVB.from_to bt lwb upb) in let rec count1 bti n = if IVB.ok bti then begin match IVB.next bti with Some (k, v, b) -> (printf "in count1 %d %d %b\n" k v b); flush stdout; let n' = if b then n + 1 else n in count1 bti n' | None -> raise (Failure "this cannot happen") end else n in count1 bti 0 Is this horrible/terrible/tolerable/appropriate? Alexander ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr