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

Example 1

Input: max 2 4

Output: 4