BSD Ports

devel/hs-choice 0.2.4.1nb3 NetBSD

Solution to boolean blindness

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
public-domain
Categories
devel
Package size
74.2 KiB, 576.0 KiB installed

Description

Represent do/don't, is/isn't, with/without flags with Choice.

Boolean blindness (https://existentialtype.wordpress.com/2011/03/15/boolean-blindness) refers to the problem that boolean literals on their own aren't very informative. In any given context, what does True mean? What does False mean? Instead of passing arguments of type Bool to functions, consider using Choice.

Install

Binary package:

pkgin install hs-choice

From pkgsrc:

cd /usr/pkgsrc/devel/hs-choice && 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.4.1nb3
NetBSD 10.1 aarch640.2.4.1nb3
SmartOS / illumos x86_640.2.4.1nb3
macOS 15 arm640.2.4.1nb3

Dependencies

Run dependencies 1

No port depends on this one.