CurryInfo: base-3.4.0 / Data.List.minimumBy

definition: Info
 
minimumBy :: (a -> a -> Ordering) -> [a] -> a
minimumBy cmp xs@(_:_) = foldl1 minBy xs
 where
  minBy x y = case cmp x y of
                GT -> y
                _  -> x
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
Returns the minimum of a non-empty list
according to the given comparison function
failfree: Info
 (_, {:})
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{:}) |-> _}
name: Info
 minimumBy
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 (a -> a -> Prelude.Ordering) -> [a] -> a
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 possibly non-reducible on same data term