<?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="2003/07/d323cc3223fee0d5707484eddacff6ba"
  from="Neel Krishnaswami &lt;neelk@a...&gt;"
  author="Neel Krishnaswami"
  date="2003-07-01T18:42:13"
  subject="Re: Ledit (was Re: [Caml-list] how to use a module)"
  prev="2003/07/7b3baf6dfe6301db0f18651224bffc72"
  next="2003/07/9675cf30fc94a0084cc8ca61a24d6cf5"
  prev-in-thread="2003/07/7b3baf6dfe6301db0f18651224bffc72"
  next-in-thread="2003/07/01789b9c03aebe041acaad47af1a9403"
  prev-thread="2003/06/59218369fd3fa7dddfd9df9c7869c6bc"
  next-thread="2003/07/db3a2b751539216b3e4019428634b021"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Re: [Caml-list] how to use a module">
<msg 
  url="2003/06/5a327328e9738765806d584d52354b45"
  from="Jean-Baptiste Rouquier &lt;jb.rouquier@w...&gt;"
  author="Jean-Baptiste Rouquier"
  date="2003-06-30T20:28:56"
  subject="Re: [Caml-list] how to use a module">
<msg 
  url="2003/07/b09089b88fcc991feb19d33a3201f432"
  from="Matt Gushee &lt;mgushee@h...&gt;"
  author="Matt Gushee"
  date="2003-07-01T01:49:56"
  subject="Re: [Caml-list] how to use a module">
<msg 
  url="2003/07/663279d54087691e1e8d563df218286c"
  from="Remi Vanicat &lt;vanicat@l...&gt;"
  author="Remi Vanicat"
  date="2003-07-01T10:31:59"
  subject="Re: [Caml-list] how to use a module">
<msg 
  url="2003/07/89fb7452334d03c749c4d369c4ac6a27"
  from="Matt Gushee &lt;mgushee@h...&gt;"
  author="Matt Gushee"
  date="2003-07-01T18:29:13"
  subject="Ledit (was Re: [Caml-list] how to use a module)">
<msg 
  url="2003/07/7b3baf6dfe6301db0f18651224bffc72"
  from="Manos Renieris &lt;er@c...&gt;"
  author="Manos Renieris"
  date="2003-07-01T18:41:22"
  subject="Re: Ledit (was Re: [Caml-list] how to use a module)">
</msg>
<msg 
  url="2003/07/d323cc3223fee0d5707484eddacff6ba"
  from="Neel Krishnaswami &lt;neelk@a...&gt;"
  author="Neel Krishnaswami"
  date="2003-07-01T18:42:13"
  subject="Re: Ledit (was Re: [Caml-list] how to use a module)">
<msg 
  url="2003/07/01789b9c03aebe041acaad47af1a9403"
  from="Matt Gushee &lt;mgushee@h...&gt;"
  author="Matt Gushee"
  date="2003-07-01T19:24:51"
  subject="Re: Ledit (was Re: [Caml-list] how to use a module)">
</msg>
<msg 
  url="2003/07/5fcbc4efc7f778d847455609a821429f"
  from="Karl Zilles &lt;zilles@1...&gt;"
  author="Karl Zilles"
  date="2003-07-01T20:51:21"
  subject="Re: Ledit (was Re: [Caml-list] how to use a module)">
</msg>
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
Matt Gushee writes:
&gt; 
&gt; Okay, then, I have some questions about ledit:
&gt; 
&gt;   How do you use it? I have actually tried ledit 2 or 3 times, but if
&gt;     I invoke the 'ledit' executable that is created, e.g.
&gt; 
&gt;       $ ./ledit
&gt; 
&gt;     I get ... something ... some sort of shell-like environment, I
&gt;     guess. But all it does is echo whatever I type. And when I read your
&gt;     post, I downloaded it again to be sure, but the same thing happened
&gt;     again. I also tried making a custom toplevel with ledit, but the
&gt;     result seems to be identical to the plain ledit executable.

Do this

  $ ledit ocaml

in order to get line editing in the ocaml toplevel. The really cool
thing about ledit is that it adds line editing to *any* program.

-- 
Neel Krishnaswami
neelk@alum.mit.edu

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

