proto-lens: A lens-based implementation of protocol buffers in Haskell.

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

The proto-lens library provides an API for 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

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.2.0.0, 0.2.0.1, 0.2.1.0, 0.2.2.0, 0.3.0.0, 0.3.1.0, 0.3.1.3, 0.4.0.0, 0.4.0.1, 0.5.0.0, 0.5.0.1, 0.5.1.0, 0.6.0.0, 0.7.0.0, 0.7.1.0, 0.7.1.1, 0.7.1.2, 0.7.1.3, 0.7.1.4, 0.7.1.5, 0.7.1.6
Change log Changelog.md
Dependencies base (>=4.10 && <4.23), bytestring (>=0.10 && <0.13), containers (>=0.5 && <0.9), deepseq (>=1.4 && <1.6), ghc-prim (>=0.4 && <0.14), lens-family (>=1.2 && <2.2), parsec (>=3.1 && <3.2), pretty (>=1.1 && <1.2), primitive (>=0.6 && <0.10), profunctors (>=5.2 && <6.0), tagged (>=0.8 && <0.9), text (>=1.2 && <2.2), transformers (>=0.4 && <0.7), vector (>=0.11 && <0.14) [details]
License BSD-3-Clause
Copyright Google Inc.
Author Judah Jacobson
Maintainer proto-lens@googlegroups.com
Uploaded by gnezdo at 2025-05-06T01:14:36Z
Revised Revision 1 made by gnezdo at 2026-03-29T14:48:05Z
Category Data
Home page https://github.com/google/proto-lens#readme
Bug tracker https://github.com/google/proto-lens/issues
Source repo head: git clone https://github.com/google/proto-lens(proto-lens)
Reverse Dependencies 51 direct, 36 indirect [details]
Downloads 20776 total (38 in the last 30 days)
Rating 2.0 (votes: 3) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-05-06 [all 1 reports]