[Haskell-cafe] Data.Binary and error handling

Alexey Khudyakov alexey.skladnoy at gmail.com
Fri Nov 27 06:00:58 EST 2009


Hello

 Is there any plans to add error handling for binary? When it comes to
binary parsing most awkward part is error handling

I presume answer will be like "there are some vague plans but no one
to implement them" so the second question how could it be done?

Naive implementation of error handliing which converts Get monad into
hybrid of state monad and error monad (Either like) gives about 5
times slowdown.


More information about the Haskell-Cafe mailing list