BSD Ports

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.

RepositoryVersion
NetBSD 10.1 x86_645.3.3nb3
NetBSD 10.1 aarch645.3.3nb3
SmartOS / illumos x86_645.3.3nb3
macOS 15 arm645.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