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 |
Name | list |
---|---|
Description | lists may contain only elements of the same type. Empty list is denoted as [], the list constructor is ":". |
Related: |
Input: [1,2,3,4]
Output: [1,2,3,4]
Input: [1,2,3,4] == 1:(2:(3:(4:[])))
Output: True