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: reverse
Type: [a] -> [a]
Description: creates a new string from the original one with items in the reverse order
Related:

Example 1

Input: reverse [1..5]

Output: [5,4,3,2,1]