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
[ANN] camlish: a simple module for shell scripting in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-10-27 (10:08)
From: Zheng Li <zheng_li@u...>
Subject: Re: [ANN] camlish: a simple module for shell scripting in OCaml

Sylvain Le Gall wrote:
> On 27-10-2008, Zheng Li <> wrote:
>>    * It's also tempting to implement simple versions of common unix
>>      tools such as "ls" and "grep" as OCaml functions to achieve better
>>      composability. We opt not for the core module and not for now.
> You should take a look at 
> Where you already have a basic implementation for ls, find, touch, rm,
> cp, du, cmp... These are pure OCaml functions, that you can call directly
> from OCaml (not external call).

Thanks for the info. I remember I once saw a smaller lib with similar
name for this purpose, maybe it was the same one but you upgraded it?

That's the exact reason I'd leave camlish as small as possible and only
concentrate on the glue layer. Your lib just gave this another vote.
I'll add a reference to FileUtil in the README. Camlish users can just
customize their working environments by importing various
modules/functions in scope via their .camlishrc file.