[Haskell-cafe] implementing a text editor swap file

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

On Tue, Jan 17, 2012 at 5:49 PM, Erik de Castro Lopo
<mle+hs at mega-nerd.com> wrote:
> Matthew Farkas-Dyck wrote:
>> http://hackage.haskell.org/package/bytestring-mmap
> Since he's editing text, its a pity there isn't a text-mmap
> package :-).

Further question - my internal data representation is a vector of
strings (it's a line-based editor). Is there a more efficient strategy
to keep an mmap buffer in sync with the vector than simply allocating
some large fixed size per line?


More information about the Haskell-Cafe mailing list