Re:Learning K programming: idiom by idiom [pdf]
by RodgerTheGreat on Sunday May 12, 2024 @09:19PM
(#40338945)
And perhaps further worth noting, the reason K uses dyadic & and | for minimum and maximum (respectively) is because logical AND and logical OR are identical to minimum and maximum if the arguments happen to be boolean (0/1). The notation and selection of primitives illustrate a useful and memorable symmetry.
[ Parent
| on HN ]
There are no comments on this comment yet.