caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Zheng Li <zheng_li@users.sourceforge.net>
To: caml-list@inria.fr
Subject: Re: [ANN] camlish: a simple module for shell scripting   in OCaml
Date: Mon, 27 Oct 2008 11:09:14 +0100	[thread overview]
Message-ID: <4905934A.4000906@users.sourceforge.net> (raw)
In-Reply-To: <slrnggb086.dq9.sylvain@gallu.homelinux.org>

Hi,

Sylvain Le Gall wrote:
> On 27-10-2008, Zheng Li <zheng_li@users.sourceforge.net> 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 
> http://le-gall.net/sylvain+violaine/documentation/ocaml-fileutils/html/api/FileUtil.StrUtil.html
> 
> 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.

--
Zheng


  reply	other threads:[~2008-10-27 10:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-27  3:30 Zheng Li
2008-10-27  8:51 ` Sylvain Le Gall
2008-10-27 10:09   ` Zheng Li [this message]
2008-10-27 13:11 ` [Caml-list] " Mikkel Fahnøe Jørgensen
2008-10-27 13:15   ` Andre Nathan
2008-10-27 13:18     ` Sylvain Le Gall
2008-10-27 13:21       ` [Caml-list] " Andre Nathan
2008-10-27 13:33         ` Sylvain Le Gall
2008-10-27 13:43     ` [Caml-list] " Mikkel Fahnøe Jørgensen
2008-10-27 14:10   ` Zheng Li
2008-10-27 14:02 ` [Caml-list] " Mikkel Fahnøe Jørgensen
2008-10-27 14:35   ` Zheng Li
     [not found]     ` <caee5ad80810270745h352a35bye70f9cc045ad441a@mail.gmail.com>
2008-10-27 15:45       ` Zheng Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4905934A.4000906@users.sourceforge.net \
    --to=zheng_li@users.sourceforge.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).