瀏覽代碼

whoops deleted stray file

master
Thorn Avery 3 年之前
父節點
當前提交
c1c14a1fe9
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. +0
    -6
      split.hs

+ 0
- 6
split.hs 查看文件

@@ -1,6 +0,0 @@
split :: Eq a => a -> [a] -> [[a]]
split _ [] = []
split d as = chunk : (split d rest)
where
chunk = takeWhile (/= d) as
rest = drop 1 $ dropWhile (/= d) as

Loading…
取消
儲存