Hi,
I was looking at the Highlighter data type in Yi.Syntax, and I'm
wondering about this:
data Highlighter cache syntax = SynHL {
...
hlRun :: Scanner Point Char -> Point -> cache -> cache,
...
}
What does this achieve over the following?
...
hlRun :: Rope -> Point -> cache -> cache
...
One advantage of the latter is that it should allow more efficient
lexers/parsers becausethey could access characters via the underlying
bytestring, rather than converting through an intermediate list.
Cheers,
Reiner
--
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel