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 WAA24767; Thu, 31 Jul 2003 22:16:46 +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 WAA32402 for ; Thu, 31 Jul 2003 22:16:44 +0200 (MET DST) Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [192.80.55.70]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h6VKGhf15243 for ; Thu, 31 Jul 2003 22:16:44 +0200 (MET DST) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.12.9/8.12.8) with ESMTP id h6VKGguV013545 for ; Thu, 31 Jul 2003 16:16:42 -0400 (EDT) Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtpsrv2.mitre.org (8.12.9/8.12.8) with ESMTP id h6VKGfBh029039 for ; Thu, 31 Jul 2003 16:16:41 -0400 (EDT) Received: from mm106599.mitre.org (129.83.35.38) by mailhub1.mitre.org with SMTP id 3546119; Thu, 31 Jul 2003 16:16:41 -0400 Message-ID: <3F297924.7070800@mitre.org> Date: Thu, 31 Jul 2003 16:16:36 -0400 From: Shaddin Doghmi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] finding unused functions Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; compiler:01 ocaml:01 stuff:05 functions:05 languages:06 programmer:08 finding:91 mitre:09 unused:09 warnings:10 sometimes:13 though:14 clean:15 done:16 project:18 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk When a project grows big, sometimes one ends up with old forgotten unused functions lying around. I know that some languages have the compiler generate warnings in those cases to help the programmer clean stuff up. I couldnt find a way to do that in ocaml though. can it be done? ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners