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) 訪問列表中的元素列出文字