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 19.14:0.7.1.1
Stackage Nightly 2022-07-04:0.7.1.1
Latest on Hackage:0.7.1.1

See all snapshots proto-lens appears in

BSD-3-Clause licensed by Judah Jacobson
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