So i have a list of lists, and i have to get out the minimum of every list and get the maximum of the minimums
EXAMPLE:
maximumOfMinimums [[1], [3, 5, 4], [8, 2]] == 3
This is how i tried:
maxMin :: [[a]] -> a
maxMin (x:xs) = minimum(map maximum (x:xs))