haskell-capnp
haskell-capnp copied to clipboard
Cap'n Proto for Haskell
...since capnp itself uses utf8 encoding internally. This would likely improve 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...
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...
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...
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...
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...
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...
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...
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...
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...