haskell-capnp icon indicating copy to clipboard operation
haskell-capnp copied to clipboard

Cap'n Proto for Haskell

Results 17 haskell-capnp issues
Sort by recently updated
recently updated
newest added

...since capnp itself uses utf8 encoding internally. This would likely improve performance.

performance

The C++ implementation provides a way to work with schema "dynamically"; it would be nice to have the same in the haskell implementation. Probably #51 could be implemented on top...

enhancement

It's sometimes useful to be able to get at the type IDs for structs et al. We should facilitate this somehow. I'm thinking a type class: ```haskell class TypeID a...

enhancement
good first issue

Right now, the way the `export_*` functions work, it's somewhat annoying to correctly acquire resources and then export them in a way that is async-exception safe; `export_*` attaches the lifetime...

Requires API breakage

Right now we don't support custom default values for pointer fields in structs; fetching the value from a null pointer will always return the default value for the type, even...

enhancement

It would be nice to have clear docs on how to have your schema files processed automatically at build time. For most projects, a good way to do this would...

good first issue

Right now we do this conversion in O(1) time via an unsafe cast. This is fine, except that right now we don't verify that the start of the ByteString is...

bug

Per the [encoding spec][1], it is permitted for a non-composite list (whose elements are at least one byte in size) to be decoded as a list of structs. We currently...

bug

It would be nice if the schema compiler plugin added haddock comments to the varioius declarations it generates; Most the time I end up referring to the schema files themselves...

enhancement
good first issue

It would be neat to be able to expose an interface from the library that could safely be used by `-XSafe` modules. The ocap discipline that capnproto allows, combined with...

enhancement