ZVON > References > Haskell reference
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: Prelude
Function: concat
Type: [[a]] -> [a]
Description: accepts a list of lists and concatenates them
Related: (++)
Keywords: concatenation, list construction

Example 1

Input: concat [[1,2,3], [1,2,3]]

Output: [1,2,3,1,2,3]