1pub fn and(x: bool, y: bool) -> bool {
2 if x then y else x
3}
4
5pub fn or(x: bool, y: bool) -> bool {
6 if x then x else y
7}
8
9pub fn not(x: bool) -> bool {
10 if x then false else true
11}
1pub fn and(x: bool, y: bool) -> bool {
2 if x then y else x
3}
4
5pub fn or(x: bool, y: bool) -> bool {
6 if x then x else y
7}
8
9pub fn not(x: bool) -> bool {
10 if x then false else true
11}