[Haskell-cafe] ANN: cautious-file 0.1.1: Ways to write a file cautiously, to avoid data loss

Felipe Lessa felipe.lessa at gmail.com
Mon Jul 20 08:02:54 EDT 2009


Nice library!

On Sun, Jul 19, 2009 at 11:35:34PM +0100, Robin Green wrote:
> A variant, writeFileWithBackup, also allows you to supply a custom
> backup computation to backup old copy(ies) of the destination file

It would be nice to have the backup action receive the file name
as a parameter, so it would be possible to have a library of
possible backup strategies. :)

--
Felipe.


More information about the Haskell-Cafe mailing list