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 16.15:0.7.0.0
Stackage Nightly 2020-09-22:0.7.0.0
Latest on Hackage:0.7.0.0

See all snapshots proto-lens appears in

BSD-3-Clause licensed by Judah Jacobson

Module documentation for 0.2.0.1

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