Re: String utility changes/additions

Leon Bottou <[email protected]> Tue, 21 Mar 2006 10:47:24 -0500
Newsgroups gmane.lisp.lush.devel
Message-ID <[email protected]>
On Monday 20 March 2006 07:31 pm, Raymond Martin wrote:
> In there we have:
>  glob
>  split-words 
>  merge-words
>  read-lines 
>  write-lines
>  #P

These were written by Yann to match the semantics and the names of unix shells.
This is obvious for <glob>, <split-words> and <merge-words>. 
I am unsure about the <read-lines>/<write-lines> thing.

One could make more general string utilities available
and reimplement these using the more general facilities.
The question is to define what general facilities should be available.
There are already some string utilities in sysenv.lsh 
(stripl, stripr, regex-rseek, regex-split, etc..) whose design 
is questionable.  Too many of them, too hard to remember.

- L.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642