Hi

Something like:

wrap prepend doc append =
    zeroText prepend <> doc <> zeroText append
zeroText s = textBeside_ (Str s) 0 Empty

Thanks, that works great!

Is there likely to be any support for adding this to the standard
library? I'd rather not have to fork a version of HughesPJ to get this
feature.

Thanks

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

Reply via email to