devel/hs-choice - The NetBSD Packages Collection

Solution to boolean blindness

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.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/ghc98 lang/ghc98

Binary packages

OSArchitectureVersion
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.