waiz: Classy optics for the wai package

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

Classy optics (GetXXX, HasXXX, ReviewXXX, AsXXX) for all data types in the wai package.

For each data type in wai (Request, Response, FilePart, RequestBodyLength), this package provides:

  • Getter type class (GetXXX)

  • Lens type class (HasXXX)

  • Review type class (ReviewXXX)

  • Prism type class (AsXXX)

For record types, individual field lenses are provided. For sum types, constructor prisms with their own classy optics are provided.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1.0, 0.0.2.0
Change log changelog
Dependencies base (>=4.18 && <5), bytestring (>=0.11 && <1), http-types (>=0.12 && <1), lens (>=4.20 && <6), network (>=3.1 && <4), text (>=2.0 && <3), vault (>=0.3 && <1), wai (>=3.2 && <4) [details]
Tested with ghc ==9.6.7
License BSD-3-Clause
Copyright Copyright (c) 2026 Tony Morris
Author Tony Morris <tmorris@tmorris.net>
Maintainer Tony Morris <tmorris@tmorris.net>
Uploaded by TonyMorris at 2026-09-16T23:15:09Z
Category Web
Home page https://gitlab.com/tonymorris/waiz
Bug tracker https://gitlab.com/tonymorris/waiz/-/issues
Source repo head: git clone git@gitlab.com:tonymorris/waiz.git
Distributions
Downloads 5 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-09-16 [all 1 reports]