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: | enumFrom |
Type: | Enum a => a -> [a] |
Class: | Enum |
Description: | returns an array of members of an enumeration starting with the argument, it is equvalent to syntax. |
Related: | enumFromThen, enumFromThenTo, enumFromTo, fromEnum, pred, succ, toEnum |
Input: take 10 (enumFrom 'a')
Output: "abcdefghij"
Input: take 10 (enumFrom 23)
Output: [23,24,25,26,27,28,29,30,31,32]