haskell or operator code example Example 1: haskell or operator (||) :: Bool -> Bool -> Bool Example 2: haskell and operator (&&) :: Bool -> Bool -> Bool