>>> minimumBy (compare `on` length) ["Hello", "World", "!", "Longest", "bar"] "!"WARNING: This function is partial for possibly-empty structures like lists.
>>> biminimumBy compare (42, 17) 17
>>> biminimumBy compare (Left 17) 17
>>> biminimumBy compare (BiList [42, 17, 23] [-5, 18]) -5On empty structures, this function throws an exception:
>>> biminimumBy compare (BiList [] []) *** Exception: bifoldr1: empty structure ...