This website works better with JavaScript.
首頁
探索
lain.church
說明
註冊
登入
tA
/
aoc2020
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
whoops deleted stray file
master
Thorn Avery
3 年之前
父節點
2dc820fc5b
當前提交
c1c14a1fe9
共有
1 個文件被更改
,包括
0 次插入
和
6 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
取消
儲存