2 Checks for excessive use of
3 bools in function definitions.
6 Calls to such functions
7 are confusing and error prone, because it's
8 hard to remember argument order and you have
9 no type system support to back you up. Using
10 two-variant enums instead of bools often makes
15 fn f(is_round: bool, is_hot: bool) { ... }
30 fn f(shape: Shape, temperature: Temperature) { ... }