BSD Ports

devel/hs-focus 1.0.3.2nb5 NetBSD

General abstraction for manipulating elements of containers

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel
Package size
126.1 KiB, 1157.4 KiB installed

Description

An API for construction of free-form strategies of access and manipulation of elements of arbitrary data structures. It allows to implement efficient composite patterns, e.g., a simultaneous update and lookup of an element, and even more complex things.

Strategies are meant to be interpreted by the host data structure libraries. Thus they allow to implement all access and modification patterns of a data structure with just a single function, which interprets strategies.

This library provides pure and monadic interfaces, so it supports both immutable and mutable data structures.

Install

Binary package:

pkgin install hs-focus

From pkgsrc:

cd /usr/pkgsrc/devel/hs-focus && 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_641.0.3.2nb5
NetBSD 10.1 aarch641.0.3.2nb5
SmartOS / illumos x86_641.0.3.2nb5
macOS 15 arm641.0.3.2nb5

Dependencies

Run dependencies 1