On Fri, Nov 27, 2009 at 3:14 PM, Khudyakov Alexey
<[email protected]> wrote:
>> You might want to look at designs that interleave error tokens in the
>> stream.
>>
> Could you point out any examples?

http://hackage.haskell.org/packages/archive/tar/0.3.1.0/doc/html/Codec-Archive-Tar.html#v%3Aread

Check the type of the return value in Codec.Archive.Tar.read

Failures are reported in-line, otherwise the entire result would be
forced in order to determine that there was no error.

Antoine
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to