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: | concatenates two lists |
Related: | (:), concat |
Keywords: | concatenate, string |
Input: [1,2,3]++[3,2]
Output: [1,2,3,3,2]
Input: "Hello"++", "++"world"++"!"
Output: "Hello, world!"
Input: reverse([1,3,5]++[2,4,6])
Output: [6,4,2,5,3,1]