haskell if array has length 1 code example Example: haskell return false if list empty null :: Foldable f => f a -> Bool null :: [a] -> Bool