[Haskell-cafe] ANN: FileManip 0.1, an expressive file manipulation library

2007-05-02 Thread Bryan O'Sullivan
The FileManip package provides expressive functions and combinators for 
searching, matching, and manipulating files.


It provides three modules.

System.FilePath.Find lets you search a filesystem hierarchy efficiently:

  find always (extension ==? .rb) = mapM_ remove

System.FilePath.GlobPattern lets you perform glob-style pattern 
matching, without going through a regexp engine:


  foo.c ~~ *.c
 == True

System.FilePath.Manip lets you rename files procedurally, edit files in 
place, or save old copies as backups:


  modifyWithBackup (. bak)
   (unlines . map (takeWhile (/= ',')) . lines)
   myPoorFile.csv
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANN: FileManip 0.1, an expressive file manipulation library

2007-05-02 Thread Bryan O'Sullivan

Bryan O'Sullivan wrote:
The FileManip package provides expressive functions and combinators for 
searching, matching, and manipulating files.


As seems to be my habit, I forgot something important, namely where to 
get FileManip from.


http://hackage.haskell.org/cgi-bin/hackage-scripts/package/FileManip-0.1

Online docs:

http://darcs.serpentine.com/filemanip/dist/doc/html/FileManip/

Darcs repo:

darcs get http://darcs.serpentine.com/filemanip
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe