In a document (https://riptutorial.com/Download/haskell-language.pdf), in Chapter 5: Arrows, I encountered the following example:
spaceAround :: Double -> [Double] -> Double
spaceAround x ys = minimum greater - maximum smaller where (greater, smaller) = partition (>x) ys
What does the expression (greater, smaller) mean?