[Haskell-cafe] WANTED: grey line layout boxes in vim and emacs

Carl Witty cwitty at newtonlabs.com
Wed Dec 6 20:37:01 EST 2006

On Wed, 2006-12-06 at 16:56 -0800, John Meacham wrote:
> Having played with haskell parsers for various reasons, the layout rule
> is quite tricky due to the rules involving 'parse-error'. if we could
> come up with a formulation that didn't have those. it would make things
> a whole lot nicer. something like an unexpected 'in', 'of', ')' '}'
> ']' might  do it. the lexer would have to keep track of matching
> brackets.. hmmm..

Yes, not having the parser->lexer feedback would be great!  And this
proposal seems like it should work quite well.  Somebody with a lot more
spare time than me should code it up and see how much real code it

Carl Witty

More information about the Haskell-Cafe mailing list