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: min
Type: Ord a => a -> a -> a
Class: Ord
Description: returns the smaller of its two arguments
Related: (<), (<=), (>), (>=), compare, max, maximum, minimum

Example 1

Input: min 2 4

Output: 2