Hi Guys I am trying to check whether the length of a list is not equal to length of a list within a list using haskells length function and pattern matching

This is the function i have and its type:

```
func :: [String] -> [[String]] -> String 

```

> 
> where the return string is either "Error different lengths found" OR
> "Lengths are the same"
> 
> 
> 

This is what i would input and the expected output see below:

["Planet", "City"] [["Jupiter", "Earth"], ["Berlin", "Madrid", "Krakow"] ]

Output should be "Error different lengths found" due to `["Berlin", "Madrid", "Krakow"]` being of size 3 where as `["Planet", "City"]` is of size 2

bit unsure how to do this and would appreciate any help!