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 KAA20409; Fri, 27 Dec 2002 10:15:16 +0100 (MET) 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 KAA20560 for ; Fri, 27 Dec 2002 10:15:15 +0100 (MET) Received: from beaune.inria.fr (beaune.inria.fr [128.93.8.3]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gBR9FFH01848 for ; Fri, 27 Dec 2002 10:15:15 +0100 (MET) Received: by beaune.inria.fr (8.8.8/1.1.22.3/14Sep99-0328PM) id KAA0000006622; Fri, 27 Dec 2002 10:15:14 +0100 (MET) From: Luc Maranget Message-Id: <200212270915.KAA0000006622@beaune.inria.fr> Subject: Re: [Caml-list] Guards vs. conditionals To: mgushee@havenrock.com Date: Fri, 27 Dec 2002 10:15:14 +0100 (MET) Cc: caml-list@inria.fr In-Reply-To: <20021227073709.GD608@swordfish> from "Matt Gushee" at déc 27, 2002 12:37:09 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > > On Thu, Dec 26, 2002 at 09:55:09PM -0600, Gurr, David (MED, self) wrote: > > try "ocamlc -dlambda foo.ml" > > Wow. That outputs something that looks a lot like LISP. And -dlambda > seems to be undocumented, at least in the man page and the HTML user's > manual. What is it intended for? Well, -d.... options show intermediate representations used by the compiler. Lambda code is one of the earliest ones. This is intented for debugging the compiler. [Snip] > > I note that the output is identical except on the fourth line: i/59 vs. > i/58 . What does that notation represent, by the way? > Internally, all variables are unique, they are characterized by a name from the source (for readable output) and an integer. > -- > Matt Gushee When a nation follows the Way, > Englewood, Colorado, USA Horses bear manure through > mgushee@havenrock.com its fields; > http://www.havenrock.com/ When a nation ignores the Way, > Horses bear soldiers through > its streets. > --Luc ------------------- 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