optics-core: Optics as an abstract interface: core definitions
This package makes it possible to define and use Lenses, Traversals, Prisms and other optics, using an abstract interface.
This variant provides core definitions with a minimal dependency footprint.
See the optics
package (and its
dependencies) for documentation and the "batteries-included" variant.
Modules
[Index] [Quick Jump]
- Data
- Either
- IntMap
- IntSet
- List
- Map
- Maybe
- Sequence
- Set
- Tree
- Tuple
- Typeable
- GHC
- Generics
- Numeric
- Optics
- Optics.AffineFold
- Optics.AffineTraversal
- Optics.Arrow
- At
- Optics.Coerce
- Cons
- Optics.Core
- Each
- Empty
- Optics.Fold
- Optics.Generic
- Optics.Getter
- Indexed
- Internal
- Optics.Iso
- Optics.IxAffineFold
- Optics.IxAffineTraversal
- Optics.IxFold
- Optics.IxGetter
- Optics.IxLens
- Optics.IxSetter
- Optics.IxTraversal
- Optics.Label
- Optics.Lens
- Optics.Mapping
- Optics.Operators
- Optics.Optic
- Optics.Prism
- Optics.Re
- Optics.ReadOnly
- Optics.ReversedLens
- Optics.ReversedPrism
- Optics.Review
- Optics.Setter
- Optics.Traversal
Flags
Manual Flags
Name | Description | Default |
---|---|---|
explicit-generic-labels | Require explicit GenericLabelOptics instances in order to use generics-based labels | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- optics-core-0.4.1.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
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
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1, 0.2, 0.3, 0.3.0.1, 0.4, 0.4.1, 0.4.1.1 |
---|---|
Change log | CHANGELOG.md |
Dependencies | array (>=0.5.2.0 && <0.6), base (>=4.10 && <5), containers (>=0.5.10.2 && <0.8), indexed-profunctors (>=0.1 && <0.2), indexed-traversable (>=0.1 && <0.2), transformers (>=0.5 && <0.7) [details] |
Tested with | ghc ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1, ghcjs ==8.4 |
License | BSD-3-Clause |
Author | Adam Gundry, Andres Löh, Andrzej Rybczak, Oleg Grenrus |
Maintainer | optics@well-typed.com |
Revised | Revision 1 made by phadej at 2024-05-13T18:09:08Z |
Category | Data, Optics, Lenses |
Bug tracker | https://github.com/well-typed/optics/issues |
Source repo | head: git clone https://github.com/well-typed/optics.git(optics-core) |
Uploaded | by arybczak at 2023-06-22T21:12:56Z |
Distributions | Arch:0.4.1.1, LTSHaskell:0.4.1.1, NixOS:0.4.1.1, Stackage:0.4.1.1, openSUSE:0.4.1.1 |
Reverse Dependencies | 54 direct, 208 indirect [details] |
Downloads | 23315 total (265 in the last 30 days) |
Rating | 2.5 (votes: 3) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2023-06-22 [all 1 reports] |