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 |
---|---|
Operator: | (:) |
Type: | a -> [a] -> [a] |
Priority: | 5 |
Description: | inserts the first argument to a list passed as the second argument |
Related: | (++) |
Keywords: | list insertion |
Input: 1 : [3,4,5]
Output: [1,3,4,5]
Input: 'a':"efg"
Output: "aefg"