Generalize the [boolean] type.

Merged Rodolphe Lepigre requested to merge ci/bool_semantics into master

Merge request reports