ZVON > References > Haskell reference
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: Prelude
Function: minimum
Type: Ord a => [a] -> a
Description: returns the minimum value from the list
Related: (<), (<=), (>), (>=), compare, max, maximum, min

Example 1

Input: minimum [3,2,6,4,1,2,3]

Output: 1

Example 2

Input: minimum "Hello"

Output: 'H'