optics-core: Optics as an abstract interface: core definitions
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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.
Properties
Versions | 0.1, 0.2, 0.3, 0.3.0.1, 0.4, 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] |
License | BSD-3-Clause |
Author | Adam Gundry, Andres Löh, Andrzej Rybczak, Oleg Grenrus |
Maintainer | optics@well-typed.com |
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 AdamGundry at 2021-02-22T15:39:54Z |
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
Package maintainers
For package maintainers and hackage trustees