📜  获取列表haskell代码示例的尾部

📅  最后修改于: 2022-03-11 14:53:35.239000             🧑  作者: Mango

代码示例3
list = [1, 2, 3, 4]

tail :: [a] -> [a]
tail [] = []
tail (_:xs) = xs