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.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
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.7), indexed-profunctors (>=0.1 && <0.2), indexed-traversable (>=0.1 && <0.2), transformers (>=0.5 && <0.6) [details] |
| Tested with | ghc ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.3, ghcjs ==8.4 |
| License | BSD-3-Clause |
| Author | Adam Gundry, Andres Löh, Andrzej Rybczak, Oleg Grenrus |
| Maintainer | optics@well-typed.com |
| Uploaded | by AdamGundry at 2021-02-22T19:54:12Z |
| 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) |
| 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 | 60 direct, 3847 indirect [details] |
| Downloads | 24252 total (18 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 2021-02-22 [all 1 reports] |