🌈 搜索
📅  最后修改于: 2022-03-11 14:53:35             🧑  作者: Mango
deleteN :: Int -> [a] -> [a] deleteN _ [] = [] deleteN i (a:as) | i == 0 = as | otherwise = a : deleteN (i-1) as