| ZVON > References > Haskell reference |
| Intro / Search / ZVON |
| | 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: |
Input: reverse [1..5]
Output: [5,4,3,2,1]