[email protected] writes:

>          case ee of
> -          (Left e)  -> return $ Done () (EOF $ Just $ Err $ show e)
> +          -- XXX Should we really be returning Done () here?
> +          (Left e)  -> error (show e) -- return $ Done () (EOF $ Just $ Err 
> $ show e)

Yes, Done _ (EOF $ Just $ Err ...) is one of the ways you report an
error in iteratee.

Good work Shu!

G
-- 
Gregory Collins <[email protected]>
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to