proto-lens

A lens-based implementation of protocol buffers in Haskell.

https://github.com/google/proto-lens

Version on this page:0.2.1.0
LTS Haskell 23.0:0.7.1.5
Stackage Nightly 2024-12-09:0.7.1.5
Latest on Hackage:0.7.1.5

See all snapshots proto-lens appears in

BSD-3-Clause licensed by Judah Jacobson
Maintained by [email protected]
This version can be pinned in stack with:proto-lens-0.2.1.0@sha256:29f4e90620cce1042e6f571d23974319c59534751060a5f84c8a43700e3fdd26,1646

The proto-lens library provides to 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