cautious-file-1.0.1: Ways to write a file cautiously, to reduce the chances of problems such as data loss due to crashes or power failures

Safe HaskellSafe-Infered

System.Posix.Fsync

Documentation