There are several ways to do this; you can use lists, for example:
[y | x <- [[1,2,3],[1,2,3],[1,2,3]], y <- x]
or to connect a function, then, in fact, in the same way:
import Control.Monad (join) join [[1,2,3],[1,2,3],[1,2,3]]
or concat function:
concat [[1,2,3],[1,2,3],[1,2,3]]
or msum (same with concat):
import Control.Monad (msum) msum [[1,2,3],[1,2,3],[1,2,3]]
or mconcat (same with concat):
import Data.Monoid (mconcat) mconcat [[1,2,3],[1,2,3],[1,2,3]]