<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/12/0a20c8ad6f2bdd101d65c6f54b7dfd02"
  from="Luc Maranget &lt;luc.maranget@i...&gt;"
  author="Luc Maranget"
  date="2002-12-27T09:15:16"
  subject="Re: [Caml-list] Guards vs. conditionals"
  prev="2002/12/e8956ad76e72ddd27c1ee0c4c94f2234"
  next="2002/12/a57a9f8f19efef0c309a18bc051d81d2"
  prev-thread="2002/12/e8956ad76e72ddd27c1ee0c4c94f2234"
  next-thread="2002/12/a57a9f8f19efef0c309a18bc051d81d2"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Re: [Caml-list] Guards vs. conditionals">
<msg 
  url="2002/12/0a20c8ad6f2bdd101d65c6f54b7dfd02"
  from="Luc Maranget &lt;luc.maranget@i...&gt;"
  author="Luc Maranget"
  date="2002-12-27T09:15:16"
  subject="Re: [Caml-list] Guards vs. conditionals">
</msg>
</thread>

<contents>
&gt; 
&gt; On Thu, Dec 26, 2002 at 09:55:09PM -0600, Gurr, David (MED, self) wrote:
&gt; &gt; try "ocamlc -dlambda foo.ml"
&gt; 
&gt; Wow. That outputs something that looks a lot like LISP. And -dlambda
&gt; seems to be undocumented, at least in the man page and the HTML user's
&gt; 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]
&gt; 
&gt; I note that the output is identical except on the fourth line: i/59 vs.
&gt; i/58 . What does that notation represent, by the way?
&gt; 

Internally, all variables are unique, they are characterized by
a name from the source (for readable output) and an integer.


&gt; -- 
&gt; Matt Gushee                 When a nation follows the Way,
&gt; Englewood, Colorado, USA    Horses bear manure through
&gt; mgushee@havenrock.com           its fields;
&gt; http://www.havenrock.com/   When a nation ignores the Way,
&gt;                             Horses bear soldiers through
&gt;                                 its streets.
&gt;                                 

--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

</contents>

</message>

