Seems like Conal's semantic editor combinators could be of interest too, if I'm understanding correctly: http://conal.net/blog/posts/semantic-editor-combinators/

On Tue, Mar 3, 2009 at 8:00 PM, Tim Docker <twd2@dockerz.net> wrote:
> While writing an OrgFile is fairly easy, reading (and
> accessing inner parts) of an org file is very tedious,
> and modifying them is horrendous.

Have you looked at

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/data-accessor

It's something I've used successfully when wanting to
manipulate the internals of complex types.

Tim


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe