haskell中list and tuple 的基礎函數總結

參考資料 :learnyouahaskell.com List: ++ :連接兩個list (Haskell裏list和string基本相同) ghci> [1,2,3,4] ++ [9,10,11,12]   [1,2,3,4,9,10,11,12]   ghci> "hello" ++ " " ++ "world"   "hello world"   ghci> ['w','o'] ++ ['
相關文章
相關標籤/搜索