Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: [Caml-list] how to use a module
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-07-01 (18:42)
From: Neel Krishnaswami <neelk@a...>
Subject: Re: Ledit (was Re: [Caml-list] how to use a module)
Matt Gushee writes:
> Okay, then, I have some questions about ledit:
>   How do you use it? I have actually tried ledit 2 or 3 times, but if
>     I invoke the 'ledit' executable that is created, e.g.
>       $ ./ledit
>     I get ... something ... some sort of shell-like environment, I
>     guess. But all it does is echo whatever I type. And when I read your
>     post, I downloaded it again to be sure, but the same thing happened
>     again. I also tried making a custom toplevel with ledit, but the
>     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

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: