Oleksii Divak

Results 4 issues of Oleksii Divak

When writing a JSON parser (GaloisInc/json#17) I needed some way to decode UTF-8 and to my dismay I found all existing solutions do not fit my expectations: - `GHC.Encoding.UTF8` and...

## Error handling 1. The library does not need to throw exceptions on any level. The control flow when interfacing with a C library inevitably unrolls to ```haskell handle (\(BotanException...

triage

## Motivation It seems like there are no proper lazy byte parsers in the ecosystem and `binary` is already known to be both bad performance-wise (https://github.com/kolmodin/binary/pull/194) and hacky implementation-wise (https://github.com/kolmodin/binary/issues/136#issuecomment-307424037)....

The changes: - Removed all wrapping functions, removed `*.Internal` modules; - Removed all record field name prefixes; `HasField` and `Offset` use C names as well. `DuplicateRecordFields` is now turned on...