proto-lens

A lens-based implementation of protocol buffers in Haskell.

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

Version on this page:0.2.0.0
LTS Haskell 22.18:0.7.1.5
Stackage Nightly 2024-04-25: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.0.0@sha256:039ec5668b98bd0994e7f178e671eae14d9060541d508d074c04d6fc87873f80,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