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: | length |
Type: | [a] -> Int |
Description: | returns te number of items in a list |
Related: | null |
Keywords: | length, list |
Input: length [1,2,3]
Output: 3
Input: length []
Output: 0
Input: length "Hello"
Output: 5