Package2.1.3DataLenses
lens-family
Lens Families
- Version2.1.3
- CategoryData, Lenses
- LicenceBSD-3-Clause
- AuthorRussell O'Connor
- MaintainerRussell O'Connor <roconnor@r6.ca>
- Pinned byhackage lens-family 2.1.3
- Sourcehackage.haskell.org/package/lens-family-2.1.3
Modules
6 modules- Lens.Family265This is the main module for end-users of lens-families.
- Lens.Family2.State0
- Lens.Family2.State.Lazy34Lenses allow you to use fields of the state of a state monad as if they were variables in an imperative language.
- Lens.Family2.State.Strict34Lenses allow you to use fields of the state of a state monad as if they were variables in an imperative language.
- Lens.Family2.Stock63This module contains lenses, prisms, grids, grates and traversals for common structures in Haskell.
- Lens.Family2.Unchecked27Caution: Improper use of this module can lead to unexpected behaviour if the preconditions of the functions are not met.
Description
This package provides first class functional references in Van Laarhoven style supporting the following optics:
Lenses (view, over) Traversals (toListOf, matching, over) Setters (over) Grates (zipWithOf, under, review) Resetters (under) Adapters (view, review) Grids (toListOf, over / under, review) Prisms (matching, over / under, review) Getters (view) Folders (toListOf) Reviewers (review)
Depends on
5 packages- base-4.20.2.0with GHC
- containers-0.7with GHC
- lens-family-core-2.1.3in this set
- mtl-2.3.1with GHC
- transformers-0.6.1.1with GHC