[Haskell-cafe] implementing a text editor swap file

Martin DeMello martindemello at gmail.com
Wed Jan 18 03:00:27 CET 2012

Says posix only. But googling for it brought up System.IO.MMap, which
does seem to be cross-platform.


On Tue, Jan 17, 2012 at 5:46 PM, Matthew Farkas-Dyck
<strake888 at gmail.com> wrote:
> http://hackage.haskell.org/package/bytestring-mmap
> On 17/01/2012, Martin DeMello <martindemello at gmail.com> wrote:
>> I'm writing a gtk2hs-based text editor, and would like to implement
>> continuous (swap-file based) autosave the way vim and emacs do it. Any
>> suggestions for how to implement this in a cross-platform manner?
>> Also, is there a library that returns standard config file locations
>> on a per-platform basis?
>> martin
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list