devel/hs-lens 5.3.3nb3 NetBSD
Lenses, Folds and Traversals
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- 2-clause-bsd
- Categories
- devel
- Package size
- 4740.7 KiB, 76020.9 KiB installed
Description
This package comes "Batteries Included" with many useful lenses for the types commonly used from the Haskell Platform, and with tools for automatically generating lenses and isomorphisms for user-supplied data types.
The combinators in Control.Lens provide a highly generic toolbox for composing families of getters, folds, isomorphisms, traversals, setters and lenses and their indexed variants.
An overview, with a large number of examples can be found in the README (https://github.com/ekmett/lens#lens-lenses-folds-and-traversals).
Install
Binary package:
pkgin install hs-lens
From pkgsrc:
cd /usr/pkgsrc/devel/hs-lens && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 5.3.3nb3 |
| NetBSD 10.1 aarch64 | 5.3.3nb3 |
| SmartOS / illumos x86_64 | 5.3.3nb3 |
| macOS 15 arm64 | 5.3.3nb3 |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 24
- devel/hs-assoc
- devel/hs-base-orphans
- devel/hs-call-stack
- devel/hs-hashable
- devel/hs-indexed-traversable
- devel/hs-indexed-traversable-instances
- devel/hs-parallel
- devel/hs-reflection
- devel/hs-strict
- devel/hs-tagged
- devel/hs-th-abstraction
- devel/hs-these
- devel/hs-transformers-compat
- devel/hs-unordered-containers
- devel/hs-vector
- lang/ghc98
- math/hs-bifunctors
- math/hs-comonad
- math/hs-contravariant
- math/hs-distributive
- math/hs-free
- math/hs-kan-extensions
- math/hs-profunctors
- math/hs-semigroupoids