devel/hs-sorted-list 0.2.2.0nb5 NetBSD
Type-enforced sorted lists and related functions
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- devel
- Package size
- 100.3 KiB, 816.3 KiB installed
Description
Type-enforced sorted lists and related functions.
These are useful for: * Constraining the argument of a function to be a sorted list by stating in your type that the input list is a sorted list. * Avoiding sorting a list twice. * Creating a list that is sorted from the moment of its construction, so it doesn't have to be sorted later. * Performing list operations keeping the input list sorted. * Improving those list operations that can be benefited from the ordering of its elements. * Creating infinite lists that are sorted! * And more!
Install
Binary package:
pkgin install hs-sorted-list
From pkgsrc:
cd /usr/pkgsrc/devel/hs-sorted-list && 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 | 0.2.2.0nb5 |
| NetBSD 10.1 aarch64 | 0.2.2.0nb5 |
| SmartOS / illumos x86_64 | 0.2.2.0nb5 |
| macOS 15 arm64 | 0.2.2.0nb5 |
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.