Hi,
I have some problems with the error processing in HXT.
Here is a trivial example:
e <- runX (transformDoc [] someRules src dst)
transformDoc cfg rules src dst =
configSysVars cfg >>>
readDocument [] src >>>
rules >>> -- some transformations
writeDocument [] dst >>>
getErrStatus
I would expect "e" to contain an error value >= c_err for the case where
any of the processing steps in transformDoc fails. But it does not, even
with an io error on writeDocument.
I guess I misunderstand "getErrStatus" in some way. Any idea?
Thanks,
Tobias
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe