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=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id D69A2BC0B for ; Fri, 15 Dec 2006 18:22:32 +0100 (CET) Received: from comtv.ru (comtv.ru [217.10.32.17]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id kBFHMWsg003289 for ; Fri, 15 Dec 2006 18:22:32 +0100 X-UCL: actv Received: from av1474.oops ([10.0.66.9] verified) by comtv.ru (CommuniGate Pro SMTP 4.1.8) with ESMTP id 11760946; Fri, 15 Dec 2006 20:22:45 +0300 Date: Fri, 15 Dec 2006 20:23:19 +0300 (MSK) From: malc X-X-Sender: malc@home.oyster.ru To: Mattias Waldau Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] How to refactor a large Ocaml program In-Reply-To: <457FF423.7000703@abc.se> Message-ID: References: <457FF423.7000703@abc.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Miltered: at concorde with ID 4582D9D8.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; malc:01 refactor:01 ocaml:01 mattias:01 waldau:01 ocaml:01 emacs:01 otags:01 emacs:01 icfp:01 intellij:01 icfp:01 vale:98 wrote:01 caml-list:01 On Wed, 13 Dec 2006, Mattias Waldau wrote: > I have a large ocaml program and I need to make major changes. > > After using C# with ReSharper in Visual Studio I am bit spoiled :-) > Having a reliable "Find Usage" feature in the browser is really useful when > you start tearing apart a program. It is really nice to be able to go to the > definition of a function directly, and find all locations it is used. > > However, when I go back to Ocamlm, Emacs and Otags and -dtypes doesn't give a > lot of help except the types. > > For example Emacs "Find-tag" on Std.left, which find the following functions: > > left, margin_left,...... > > Do anyone know about better ways of doing this? Not really relevant nevertheless curious fact - in 2003 a team which included two JetBrains[1] employees won a second prize at ICFP contest[2], with an entry in a mixture of OCaml and C[3]. [1] Though on the page the company name is spelled as IntelliJ software [2] http://www.dtek.chalmers.se/groups/icfpcontest/ [3] http://oops.tepkom.ru/~msk/icfp2003.html -- vale