bool
- noun
- /buːl/
- Specialized
- So arrays, dictionaries, ints, bools, double S, those are all structs.
Examples
-
When you do filter f xs, it just applies the function f of type a -> Bool on all the elements of the list, removing those for which this function returns False.
Blog text (3) -
bool main(void);
Blog text (20) -
Return either void or maybe bool to indicate success.
Blog text (6) -
It actually returns a bool and it's text field should return.
-
This is the idea that prop equals bool, and what's bool is a type.
-
Another option would be to use displacement as an alternative to bools.
Blog text (28) -
In programming, a bool can only be either true or false.
-
You can use a bool to control the flow of your application based on user input.
-
The function returns a bool that determines whether the operation was successful.
Synonyms
A value that can be true or false
Antonyms
Surface Forms
Etymology
A bool is named after George Boole and the idea of Boolean logic. A helpful way to remember a bool is that it can hold only 'true' or 'false', the two answers in that system.