
John Lusk
Hi, all, [.. cut ..] http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
If I understand you correctly you want to parse a set of lines and keep track of indentation. This is not entirely unlike parsing a programming language where indentation is significant, like Haskell :) Is that correct? A quick look at Hackage gives several libs with combinators dealing with indentaion-aware parsers. Have you looked at any of them? /M -- Magnus Therning OpenPGP: 0x927912051716CE39 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus For a successful technology, reality must take precedence over public relations, for nature cannot be fooled. — R.P. Feynman