BSD Ports

math/hs-primes 0.2.1.0nb8 NetBSD

Efficient, purely functional generation of prime numbers

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
math
Package size
115.2 KiB, 944.4 KiB installed

Description

This Haskell library provides an efficient lazy wheel sieve for prime generation inspired by "Lazy wheel sieves and spirals of primes" by Colin Runciman and "The Genuine Sieve of Eratosthenes" by Melissa O'Neil.

Install

Binary package:

pkgin install hs-primes

From pkgsrc:

cd /usr/pkgsrc/math/hs-primes && 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_640.2.1.0nb8
NetBSD 10.1 aarch640.2.1.0nb8
SmartOS / illumos x86_640.2.1.0nb8
macOS 15 arm640.2.1.0nb8

Dependencies

Run dependencies 1