Path to this page:
./
devel/hs-choice,
Solution to boolean blindness
Branch: CURRENT,
Version: 0.2.4.1nb1,
Package name: hs-choice-0.2.4.1nb1,
Maintainer: pkgsrc-usersRepresent 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.
Master sites:
Filesize: 2.698 KB
Version history: (Expand)
- (2025-02-02) Updated to version: hs-choice-0.2.4.1nb1
- (2025-01-31) Package added to pkgsrc.se, version hs-choice-0.2.4.1 (created)
CVS history: (Expand)
2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173) |
Log message:
Bump all Haskell packages after switching the default compiler.
|
2025-01-31 03:51:24 by Masatake Daimon | Files touched by this commit (5) |
Log message:
devel/hs-choice: import hs-choice-0.2.4.1
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.
|