proto-lens

A lens-based implementation of protocol buffers in Haskell.

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

Version on this page:0.2.0.1
LTS Haskell 22.11:0.7.1.4
Stackage Nightly 2023-12-26:0.7.1.4
Latest on Hackage:0.7.1.4

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.0.1@sha256:e247fd9e6a45baf104e8645ba35ed5e3815723382e49abea022cfc209e1f416c,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