
27 Nov
2009
27 Nov
'09
3:43 p.m.
В сообщении от 27 ноября 2009 23:09:53 Don Stewart написал:
alexey.skladnoy:
Hello
Is there any plans to add error handling for binary? When it comes to binary parsing most awkward part is error handling
It is now available in the 'cereal' package. A strict binary with explicit, checked error handling.
It does but it was already noted that cereal uses strict bytestrings which are not really convenient when dealing with huge inputs. One may end up using both binary and cereal which is not really satisfactory. Also binary's Get monad is strict since 0.5.0.2 so addition of error handling wont bring strictness problems.