StackOverflow 文档 Haskell Language 教程 清单 列出连接 列出连接 Created: November-22, 2018 listA = [1, 2, 3] listB = [4, 5, 6] listAThenB = listA ++ listB -- [1, 2, 3, 4, 5, 6] (++) xs [] = xs (++) [] ys = ys (++) (x:xs) ys = x : (xs ++ ys) 访问列表中的元素列出文字