ah ha, yes. I seem to have found it here: http://www.haskell.org/pipermail/glasgow-haskell-bugs/2001-April/000401.html I'll use this as a base. Many thanks to the both of you. I'll be sure to submit it to Hackage for others to enjoy if I end up adding some capability to it.