Version franaise
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 (13:43)
From: Mikkel_Fahnøe_Jørgensen <mikkel@d...>
Subject: Re: [Caml-list] [ANN] camlish: a simple module for shell scripting in OCaml
2008/10/27 Andre Nathan <>:
> On Mon, 2008-10-27 at 14:11 +0100, Mikkel Fahnøe Jørgensen wrote:
>> I'm currently adding a simple file globber.

This is nice.

I wanted a simple ocaml based globber that can be embedded directly in
the source so there isn't any cross platform and
installation issues. But my globber only takes a single directory for
now and is probably not fast.

Users could install your globber and use it together with

I need to think about the 'cp' interface a bit more.
Currently it takes a string. Should there be a variant taking a glob,
or an expanded list, or should cp take a single string of multiple
files that could originate from a glob?

Or should cp always take a glob pattern and have a way to plug in
other glob functions?