The proto-lens library provides an API for protocol buffers using modern Haskell language and library patterns. Specifically, it provides:
- Composable field accessors via lenses
- Simple field name resolution/overloading via type-level literals
- Type-safe reflection and encoding/decoding of messages via GADTs
Links for more information:
- Tutorial
- Build instructions
- Installing protoc
- Reference table of scalar types used by generated code
- List of reserved variable names
This is not an official Google product.