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
Operator: (<=)
Type: Ord a => a -> a -> Bool
Class: Ord
Priority: 4
Description: "less than or equal" operator
Related: (<), (>), (>=), compare, max, maximum, min, minimum
Keywords: order

Example 1

Input: 2 <= 4

Output: True

Example 2

Input: 4 <= 2

Output: False

Example 3

Input: 4 <= 4

Output: True