[Haskell-cafe] implementing a text editor swap file

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


On Tue, Jan 17, 2012 at 6:24 PM, Erik de Castro Lopo
<mle+hs at mega-nerd.com> wrote:
> Martin DeMello wrote:
>
>> Further question - my internal data representation is a vector of
>> strings (it's a line-based editor).
>
> String or ByteString or Text?
>
> If its either of the first two, I think you should definitely look at
> Text.

Just plain String, mostly because it's what Gtk.Entry works with. I'll
take a look at Text.

martin



More information about the Haskell-Cafe mailing list